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 0x8000000000000000;
based on PKjWq
Output for 7.0.0 - 7.2.0
-9223372036854775808 -9223372036854775808 -9223372036854775808 9.2233720368548E+18
Output for 5.3.19 - 5.6.28
Notice: Use of undefined constant PHP_INT_MIN - assumed 'PHP_INT_MIN' in /in/1JUac on line 3 PHP_INT_MIN -9223372036854775808 -9223372036854775808 9.2233720368548E+18