3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $x = PHP_INT_MAX; echo $x; $x += 1; echo $x;
based on DriMk
Output for 4.4.0 - 4.4.9, 5.0.5 - 7.2.0
92233720368547758079.2233720368548E+18
Output for 4.3.0 - 4.3.11, 5.0.0 - 5.0.4
Notice: Use of undefined constant PHP_INT_MAX - assumed 'PHP_INT_MAX' in /in/T9d4q on line 3 PHP_INT_MAX1