PHP - Bitwise operators

We have more of the bitwise operators, using the bitwise operator we can set or determine the specific bit in whole numbers.
bitwise left shift
par1 << par2
bitwise right shift
par1 >> par2
bitwise and
par1 & par2
bitwise or
par1 | par2
bitwise xor
par1 ^ par2

PHP

Other pieces of example codes:
($i & $j)
128 << ($j <<(3 + $i))
2 >> 2
$x = 123 ^ 25
$x = 1 | 2
~($x & 5) & $y
Languages: en hu cz sk