3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = 2; $b = $a<<4>>1+1; echo $b;
based on voFvZ
Output for 4.3.0 - 5.3.14, 5.3.16 - 7.2.0
8
Output for 5.3.15

Process exited with code 137.