3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(0); if (!is_finite(1.0/0.0) ) { if (!is_infinite(1.0/0.0)) { echo INF } else { echo true; } }
Output for 5.5.24 - 5.5.30, 5.6.8 - 5.6.15
Parse error: syntax error, unexpected '}', expecting ',' or ';' in /in/tu874 on line 7
Process exited with code 255.

preferences:
161.74 ms | 1395 KiB | 22 Q