there are few variables:
$x=null;
$y=10;
$z=15;
...and few expressions similar to these below:
$result=$x+$y+$z;
$result=$x+$y$x;
...
$result=$y$x-$z;
the result of all the expressions should be null, because one of the variables is null. how to do it?
php gives in the first case 25, in the second 0. but i need the results that are nulls!
any ideas?