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"; echo 0x800000000;
based on cEalq
Output for 7.0.0 - 7.2.0
-9223372036854775808 -9223372036854775808 -9223372036854775808 34359738368
Output for 5.3.19 - 5.6.28
Notice: Use of undefined constant PHP_INT_MIN - assumed 'PHP_INT_MIN' in /in/F5ACY on line 3 PHP_INT_MIN -9223372036854775808 -9223372036854775808 34359738368