Re: php compiler

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

 



> I kind of hinted in my earlier what is going on but:
>   $a = 1 && $b = 0;
> Is first silently evaluated as:
>   $a = (1 && $b = 0);
thx your answer, just one more little thing...

> So the right expression is tested which happens to be ($b = 0).
...why ($b = 0) is on the right side, not only $b.

Felho

u.i. Is there any information, why PHP was implemented this way?

--
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