3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo PHP_INT_MIN,"\n"; echo ~PHP_INT_MAX,"\n"; echo -PHP_INT_MAX -1,"\n"; var_dump(0x80000000000000);
based on t9n4T
Output for 7.0.0 - 7.2.0
-9223372036854775808 -9223372036854775808 -9223372036854775808 int(36028797018963968)
Output for 5.3.19 - 5.6.21
Notice: Use of undefined constant PHP_INT_MIN - assumed 'PHP_INT_MIN' in /in/Vgt0T on line 3 PHP_INT_MIN -9223372036854775808 -9223372036854775808 int(36028797018963968)