3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(1.0/-0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001);
based on Bm91K
Output for 7.0.2 - 7.2.0
Warning: Division by zero in /in/dOPsW on line 3 float(-INF)
Output for 7.0.0 - 7.0.1
Warning: Division by zero in /in/dOPsW on line 3 float(INF)
Output for 5.3.21 - 5.6.28
Warning: Division by zero in /in/dOPsW on line 3 bool(false)