Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199807

Re: [PHP3] OR versus || From: Andre Anneck (anneck <email protected>)
Date: 07/22/98

> > I asked this about a month ago and didn't get an answer. What's the
> > difference between OR and ||?
>
> There is no difference.
>
> -Rasmus

There must be!

When i do
<?PHP
        if("OR" == "||") { echo "The same"; }
        else { echo "There is a difference"; }
?>

I always get
"There is a difference"

*giggle*

PS.: Sorry i couldnt resist.

Take care,

A.Anneck
Web-Wizard @ TSE Teleservice GmbH
ICQ#: 1339921
--------------------------------------
"Gravity can not be made responsible
 for people falling in love"
- Albert Einstein.

--
PHP 3 Mailing List   http://www.php.net/
To unsubscribe send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest list:  php3-digest-subscribe <email protected>
For help: php3-help <email protected>  Archive:  http://www.php.net/mailsearch.php3