3v4l.org

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