3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php // Distracting division by zero error, // causes output to be on so many lines that it causes scrollbar to appear echo 1.0 / -0.0, "\n", 1.0 / "-0.0", "\n";
Output for 7.0.2 - 7.2.0
Warning: Division by zero in /in/EeQXu on line 5 -INF Warning: Division by zero in /in/EeQXu on line 5 -INF
Output for 7.0.0 - 7.0.1
Warning: Division by zero in /in/EeQXu on line 5 INF Warning: Division by zero in /in/EeQXu on line 5 -INF
Output for 5.3.20 - 5.6.28
Warning: Division by zero in /in/EeQXu on line 5 Warning: Division by zero in /in/EeQXu on line 5