3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $value = 4294967295; echo 'value is float: ' . (($value >> 32 - 1) & 1); //OUTPUT: value is string: 1 $value = '4294967295'; echo 'value is string: ' . (($value >> 32 - 1) & 1); //OUTPUT: value is string: 0
Output for 4.3.0 - 5.0.5, 5.1.1 - 7.1.0
value is float: 1value is string: 1
Output for 5.1.0
Fatal error: fatal flex scanner internal error--end of buffer missed in /in/IQ1CG on line 6
Process exited with code 255.