3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo (int)INF;
Output for 4.3.6 - 5.0.1, 5.0.3 - 5.4.45, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
0
Output for 5.5.0 - 5.6.28
-9223372036854775808
Output for 5.0.2
9223372036854775807
Output for 4.3.0 - 4.3.5
Notice: Use of undefined constant INF - assumed 'INF' in /in/so6bN on line 2 0