3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php error_reporting(0); if (!is_finite(1.0/0.0) ) { if (!is_infinite(1.0/0.0)) { echo INF; } else { echo true; } }
based on tu874
Output for 7.0.0 - 7.2.0
1
Output for 5.3.19 - 5.6.21