note 35887 added to language.operators.logical
| From: | strudo at rn2 dot php dot net | Date: | Thu, 18 Sep 2003 07:08:57 +0000 |
| Subject: | note 35887 added to language.operators.logical | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-56672@lists.php.net to get a copy of this message | ||
I tried the if ($a ^^ $b) for a logical xor, but it didn't seem to work. I did find that it
worked with only a single ^
Where
if ($a ^^ $b)
didn't work for me
if ($a ^ $b)
did as I expected
----
Manual Page -- http://www.php.net/manual/en/language.operators.logical.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+35887
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+35887&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+35887&report=yes