3v4l.org

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