3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $foo = 2/0; var_dump($foo);
Output for 7.0.0 - 7.2.0
Warning: Division by zero in /in/0JkZi on line 1 float(INF)
Output for 4.3.0 - 5.6.28
Warning: Division by zero in /in/0JkZi on line 1 bool(false)