3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump((bool)('0'/'0'));
based on OH3Gf
Output for 7.0.0 - 7.2.0
Warning: Division by zero in /in/YUp1l on line 2 bool(true)
Output for 5.3.18 - 5.6.28
Warning: Division by zero in /in/YUp1l on line 2 bool(false)