Re: What does || mean ?

From: Date: Thu, 17 Apr 2003 08:22:12 +0000
Subject: Re: What does || mean ?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-144243@lists.php.net to get a copy of this message
Chris, It would be OR. && == and. i have no idea what the not operator is, though it might be != but im rusty ;\ -Tim merkworx. ----- Original Message ----- From: "Chris Blake" <cblake@pbpc.co.za> To: "Php-General" <php-general@lists.php.net> Sent: Thursday, April 17, 2003 6:03 PM Subject: [PHP] What does || mean ? > Greetings learned PHP(eople); > > What does the use of "||" in the following instance mean ? > ------------------------------------ > if($file=='.'||$file=='..') > echo $file; > ------------------------------------ > > Is it : if the file is equal to "." AND/OR/NOT equal to ".." > > Thanks > > > -- > Chris Blake > Office : (011) 782-0840 > Cell : 083 985 0379 > A man without a woman is like a statue without pigeons. > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#144243) next »