> 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



Reply via email to