Re: php compiler

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux