Re: OR

From: Date: Sun, 25 Apr 2004 16:43:22 +0000
Subject: Re: OR
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-184572@lists.php.net to get a copy of this message
BEEP wrong :) http://www.php.net/manual/en/language.operators.php#language.operators.precedence therefore: $a AND $b OR $c AND $d is not equal $a AND $b || $c AND $d but is equal to $a && $b || $c && $d -- red Evan Nemerson wrote:
On Sunday 25 April 2004 12:14 am, Aidan Lister wrote:
if (cond || cond2) OR if (cond OR cond2) What do you use, and why?
Doesn't matter- personal preference.


« previous php.general (#184572) next »