3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(0/0); var_dump(0/0 < 0.8);
based on hDr4i
Output for 7.0.0 - 7.2.0
Warning: Division by zero in /in/di9TX on line 2 float(NAN) Warning: Division by zero in /in/di9TX on line 3 bool(false)
Output for 5.3.20 - 5.6.28
Warning: Division by zero in /in/di9TX on line 2 bool(false) Warning: Division by zero in /in/di9TX on line 3 bool(true)