What does || mean ?

From: Date: Thu, 17 Apr 2003 08:03:56 +0000
Subject: What does || mean ?
Groups: php.general 
Request: Send a blank email to php-general+get-144240@lists.php.net to get a copy of this message
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.

« previous php.general (#144240) next »