3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php foreach (range(22, 23, 3) as $number) { echo $number."<br />"; } ?>
Output for 5.0.0 - 7.1.0
Warning: range(): step exceeds the specified range in /in/rfQle on line 3 Warning: Invalid argument supplied for foreach() in /in/rfQle on line 3
Output for 4.3.0 - 4.3.10, 4.4.0 - 4.4.9
Warning: Wrong parameter count for range() in /in/rfQle on line 3 Warning: Invalid argument supplied for foreach() in /in/rfQle on line 3
Output for 4.3.11
Warning: Wrong parameter count for range() in /in/rfQle on line 3