3v4l.org

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