# 3v4l.org

run code in 200+ php & hhvm versions
```<?php var_dump( 1 / 0, -1 / 0, 1 / -0, -1 / -0, 0 / 0 );```
based on d8KYP
Output for 7.0.0 - 7.2.0
Warning: Division by zero in /in/irQn0 on line 3 Warning: Division by zero in /in/irQn0 on line 4 Warning: Division by zero in /in/irQn0 on line 5 Warning: Division by zero in /in/irQn0 on line 6 Warning: Division by zero in /in/irQn0 on line 7 float(INF) float(-INF) float(INF) float(-INF) float(NAN)
Output for 5.3.20 - 5.6.28
Warning: Division by zero in /in/irQn0 on line 3 Warning: Division by zero in /in/irQn0 on line 4 Warning: Division by zero in /in/irQn0 on line 5 Warning: Division by zero in /in/irQn0 on line 6 Warning: Division by zero in /in/irQn0 on line 8 bool(false) bool(false) bool(false) bool(false) bool(false)