Just learning Bitwise Shift Operators.
The easiest way to resolve a bitwise shift operators is my multiply or dividing each step by two for left shift or right shift respectively
Example:
LEFT SHIFT
<?php echo 8 << 3; //64 ?>
//same as
<?php echo 8 * 2 * 2 * 2; ?>
RIGHT SHIFT
<?php echo 8 >> 3; //1 ?>
//same as
<?php echo ((8/2)/2)/2; //1 ?>
//Solving on a paper 8/2 = 4/2 = 2/2 = 1