Bitwise Operators summary table
|
Operation Operator Class Associativity Example
Bitwise AND & Binary Left $a & $b
Bitwise | Binary Left $a | $b inclusive OR
Bitwise exclusive ^ Binary Left $a ^ $b OR (XOR)
Bitwise NOT ~ Unary Right ~$a
Bitwise << Binary Left $a << $b left-shift
Bitwise >> Binary Left $a >> $b right-shift
|
|
|
|
|
HTML code for linking to this page:
Related in same category :
-
|