3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php phpversion() >= "7.0.0beta1" or die(); echo INF / 0; echo intdiv(INF,0);
based on KGTfo
Output for 7.0.1 - 7.2.0
Warning: Division by zero in /in/kevO8 on line 4 INF Warning: intdiv() expects parameter 1 to be integer, float given in /in/kevO8 on line 5
Output for 5.3.20 - 7.0.0