3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php 1/0; intdiv(1,0); 1%0;
Output for 7.0.0 - 7.2.0
Warning: Division by zero in /in/o9acS on line 3 Fatal error: Uncaught DivisionByZeroError: Division by zero in /in/o9acS:3 Stack trace: #0 /in/o9acS(3): intdiv(1, 0) #1 {main} thrown in /in/o9acS on line 3
Process exited with code 255.
Output for 5.3.18 - 5.6.28
Warning: Division by zero in /in/o9acS on line 3 Fatal error: Call to undefined function intdiv() in /in/o9acS on line 3
Process exited with code 255.