3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo INF/2,"\n"; echo INF/pow(2.,32.),"\n"; echo INF/pow(2.,64.),"\n"; echo INF % pow(2.,64.);
based on dsaHi
Output for 7.0.0 - 7.2.0
INF INF INF Fatal error: Uncaught DivisionByZeroError: Modulo by zero in /in/4Lk9F:7 Stack trace: #0 {main} thrown in /in/4Lk9F on line 7
Process exited with code 255.
Output for 5.3.20 - 5.6.28
INF INF INF Warning: Division by zero in /in/4Lk9F on line 7