note 32726 deleted from control-structures by didou

From: Date: Sun, 03 Aug 2003 10:00:42 +0000
Subject: note 32726 deleted from control-structures by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-53237@lists.php.net to get a copy of this message
Note Submitter: Peter ---- The above situation [if($c == ($a || $b))...] looks to me like it is evaluating the brackets [ie if($a || $b)] and comparing that to $c. ($a || $b) will return true because one or the other or both are set, and comparing $c to true will also return true. Does that make sense? Good

« previous php.notes (#53237) next »