note 61415 deleted from language.operators.bitwise by cmb
| From: | cmb@php.net | Date: | Sun, 20 Oct 2019 08:47:09 +0000 |
| Subject: | note 61415 deleted from language.operators.bitwise by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-212687@lists.php.net to get a copy of this message | ||
Note Submitter: John L
----
Bitwise operators are swell, but (a & b & c & d) == a
is not a way to test for four-way equality. If a is zero, it'll always be true, and in general
it will be true any time a has no bits not also in the other three values.