3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo (INF/INF);
Output for 5.2.2 - 7.2.0
NAN
Output for 4.3.6 - 5.2.1
-NAN
Output for 4.3.0 - 4.3.5
Notice: Use of undefined constant INF - assumed 'INF' in /in/mSmNC on line 3 Notice: Use of undefined constant INF - assumed 'INF' in /in/mSmNC on line 3 Warning: Division by zero in /in/mSmNC on line 3