3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php foreach (range(10, 14.6, 0.5) as $number) { echo $number; } ?>
Output for 5.0.0 - 7.1.0
1010.51111.51212.51313.51414.5
Output for 4.3.0 - 4.3.10, 4.4.0 - 4.4.9
Warning: Wrong parameter count for range() in /in/i98Jh on line 3 Warning: Invalid argument supplied for foreach() in /in/i98Jh on line 3
Output for 4.3.11
Warning: Wrong parameter count for range() in /in/i98Jh on line 3