Re: php compiler

From: Date: Sat, 30 Oct 2004 14:37:51 +0000
Subject: Re: php compiler
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-200721@lists.php.net to get a copy of this message
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

« previous php.general (#200721) next »