3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo 1/0; echo 1.0/0.0;
Output for 7.0.0 - 7.2.0
Warning: Division by zero in /in/Lf0Bb on line 3 INF Warning: Division by zero in /in/Lf0Bb on line 4 INF
Output for 5.3.20 - 5.6.28
Warning: Division by zero in /in/Lf0Bb on line 3 Warning: Division by zero in /in/Lf0Bb on line 4