3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(PHP_INT_MAX, PHP_INT_MAX === 9223372036854775807); var_dump(PHP_INT_MIN, PHP_INT_MIN === -9223372036854775808);
based on Q4nSe
Output for hhvm-3.18.5 - 3.22.0, 7.0.30 - 7.2.8
int(9223372036854775807) bool(true) int(-9223372036854775808) bool(false)
Output for 5.6.30
int(9223372036854775807) bool(true) Notice: Use of undefined constant PHP_INT_MIN - assumed 'PHP_INT_MIN' in /in/fcqrh on line 4 Notice: Use of undefined constant PHP_INT_MIN - assumed 'PHP_INT_MIN' in /in/fcqrh on line 4 string(11) "PHP_INT_MIN" bool(false)