3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo 1/0; for ($i = 10; $i <= 30; $i++) { echo $i." ".intval("Infinity", $i)."\n"; }
based on Y70tE
Output for 7.0.0 - 7.2.0
Warning: Division by zero in /in/keTn1 on line 3 INF10 0 11 0 12 0 13 0 14 0 15 0 16 0 17 0 18 0 19 18 20 18 21 18 22 18 23 18 24 151176378 25 185011843 26 224651640 27 270812475 28 324267766 29 385849803 30 13693557269
Output for 5.3.18 - 5.6.28
Warning: Division by zero in /in/keTn1 on line 3 10 0 11 0 12 0 13 0 14 0 15 0 16 0 17 0 18 0 19 18 20 18 21 18 22 18 23 18 24 151176378 25 185011843 26 224651640 27 270812475 28 324267766 29 385849803 30 13693557269