3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php try { $foo = 123 / 0; } catch (Exception $e) { var_dump($e); } var_dump($foo);
Output for 7.0.0 - 7.2.0
Warning: Division by zero in /in/JMHL0 on line 4 float(INF)
Output for 5.3.19 - 5.6.28
Warning: Division by zero in /in/JMHL0 on line 4 bool(false)