3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(2 >> 1); echo "\n"; var_dump(1 << 64); // int(0) echo "\n"; var_dump(1 << 63); // int(0)
based on k0leB
Output for 7.0.0 - 7.2.0
int(1) int(0) int(-9223372036854775808)
Output for 5.3.20 - 5.6.28
int(1) int(1) int(-9223372036854775808)