note 4185 deleted from Logical Operators by jimw
| From: | jimw@php.net | Date: | Thu, 11 Jan 2001 03:01:39 +0000 |
| Subject: | note 4185 deleted from Logical Operators by jimw | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-9619@lists.php.net to get a copy of this message | ||
Be careful about using & as a replacement for &&!
<PRE>
e.g.
0x01 && 0x80 == TRUE
because both values are non-zero, but
0x01 & 0x80 == 0x00
which is FALSE
</PRE>