1 2 3 4 5 6 7 8 9 10 11
<?php function blub($a) { if ($a == 0) { unset($a); } return $a; } var_dump(blub(5)); var_dump(blub(0));
1 2
int(5) NULL