3v4l.org

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