note 18842 deleted from language.operators.assignment by sniper
| From: | sniper@php.net | Date: | Mon, 13 Oct 2003 00:09:50 +0000 |
| Subject: | note 18842 deleted from language.operators.assignment by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-58396@lists.php.net to get a copy of this message | ||
Note Submitter: spam-receiver@web.de
----
Please notice that the combined operators
&= and |=
work in binary, not in logical mode.
E.g.:
$a = 1; $a &= 2; evaluates as 0.
$a = 1; $a |= 2; evaluates as 3.