3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo PHP_INT_MAX, "\n"; printf("%u\n",0xffffffffffffffff );// 0 printf("%d",0xffffffffffffffff );// 0
Output for 4.4.0 - 4.4.9, 5.0.5, 5.1.1 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
9223372036854775807 0 0
Output for 5.1.0
Fatal error: fatal flex scanner internal error--end of buffer missed in /in/K6GC7 on line 7
Process exited with code 255.
Output for 4.3.0 - 4.3.11, 5.0.0 - 5.0.1, 5.0.3 - 5.0.4
Notice: Use of undefined constant PHP_INT_MAX - assumed 'PHP_INT_MAX' in /in/K6GC7 on line 3 PHP_INT_MAX 0 0
Output for 5.0.2
Notice: Use of undefined constant PHP_INT_MAX - assumed 'PHP_INT_MAX' in /in/K6GC7 on line 3 PHP_INT_MAX 4294967295 9223372036854775807