3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump( (int) 0x7fffffffffffffff ); var_dump( (int) 0x7ffffffffffffffe ); var_dump( (int) 0x7ffffffffffffffd );
Output for 4.3.0 - 7.1.7
int(9223372036854775807) int(9223372036854775806) int(9223372036854775805)