note 16340 rejected from language.operators.precedence by jimw

From: Date: Thu, 25 Oct 2001 23:12:04 +0000
Subject: note 16340 rejected from language.operators.precedence by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-19440@lists.php.net to get a copy of this message
Ok this might be just me but uhm if i understood correctly && is evaluated BEFORE =+ so why?? does this evaluate true?? <? $x = 2; if ($x =+ 0 && true) print("Damn this prints??!?!<BR>"); ?> if I understood correctly this should first evaluate 0 && true which is false... that leaves 2 true which isn't ok but hell... it doesn't give a parse error. the line will print tho'

« previous php.notes (#19440) next »