3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo (2+2)."\n"; echo (2 << 2) . "\n"; echo (2 << 3) . "\n"; echo (2 << 4) . "\n"; echo (2 << 5) . "\n"; echo (3 << 1) . "\n"; echo (3 << 2) . "\n"; echo (3 << 3) . "\n"; echo (3 << 4) . "\n";
Output for 4.3.0 - 7.1.0
4 8 16 32 64 6 12 24 48