3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $x = 42 / 0; $m = 1337 % 0;
based on GATNq
Output for 7.0.0 - 7.2.0
Warning: Division by zero in /in/Vlr61 on line 3 Fatal error: Uncaught DivisionByZeroError: Modulo by zero in /in/Vlr61:5 Stack trace: #0 {main} thrown in /in/Vlr61 on line 5
Process exited with code 255.
Output for 5.3.21 - 5.6.28
Warning: Division by zero in /in/Vlr61 on line 3 Warning: Division by zero in /in/Vlr61 on line 5