Re: php compiler
| From: | Hodicska Gergely | Date: | Mon, 01 Nov 2004 08:03:51 +0000 |
| Subject: | Re: php compiler | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-200818@lists.php.net to get a copy of this message | ||
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?