If you see the output, it seems, that PHP evaluate first $b = 0, and this is the problem.

> $a = 1 && $b = 0
> PHP sees two expressions here:

After the precedence table the first thing should be evaluating 1 && $b, so we get:
$a = false = 0
Which is not meaningful thing, and maybe this cause that the evaluating of the statment is not in the right order.


Felho

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to