note 105000 deleted from language.operators.bitwise by danbrown
| From: | danbrown@php.net | Date: | Thu, 21 Jul 2011 15:58:09 +0000 |
| Subject: | note 105000 deleted from language.operators.bitwise by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-181745@lists.php.net to get a copy of this message | ||
Note Submitter: Rijk van Wel
----
I don't know why, but there's also a set of Bitwise Assignment Operators, which isn't
listed anywhere. They are:
$a &= $b $a = $a & $b Bitwise And
$a |= $b $a = $a | $b Bitwise Or
$a ^= $b $a = $a ^ $b Bitwise Xor
$a <<= $b $a = $a << $b Left shift
$a >>= $b $a = $a >> $b Right shift
See straz's comment at http://php.net/manual/en/language.operators.assignment.php#40084
for the full list of assignment operators.