3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = -INF; if ($a > 3) { echo "bonjour"; } else { echo "au revoir"; }
Output for 4.3.6 - 7.2.0
au revoir
Output for 4.3.0 - 4.3.5
Notice: Use of undefined constant INF - assumed 'INF' in /in/W2BI9 on line 3 au revoir