3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo (INF == INF) ? 'Yes' : 'No';
Output for 5.4.0 - 7.1.0
Yes
Output for 4.3.6 - 5.3.29
No
Output for 4.3.0 - 4.3.5
Notice: Use of undefined constant INF - assumed 'INF' in /in/6hf1j on line 3 Notice: Use of undefined constant INF - assumed 'INF' in /in/6hf1j on line 3 Yes