3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $i = NULL; $i = $i / 0; if($i==NULL){ var_dump("LOL"); } var_dump($i);
based on Etvpl
Output for 7.0.0 - 7.1.0
Warning: Division by zero in /in/HuFV9 on line 6 float(NAN)
Output for 4.3.0 - 5.6.28
Warning: Division by zero in /in/HuFV9 on line 6 string(3) "LOL" bool(false)