3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php foreach (range(10.1, 11, 0.1) as $number) { echo $number."<br />"; } ?>
Output for 5.0.0 - 7.1.0
10.1<br />10.2<br />10.3<br />10.4<br />10.5<br />10.6<br />10.7<br />10.8<br />10.9<br />11<br />
Output for 4.3.0 - 4.3.10, 4.4.0 - 4.4.9
<br /> <b>Warning</b>: Wrong parameter count for range() in <b>/in/3SC4f</b> on line <b>3</b><br /> <br /> <b>Warning</b>: Invalid argument supplied for foreach() in <b>/in/3SC4f</b> on line <b>3</b><br />
Output for 4.3.11
<br /> <b>Warning</b>: Wrong parameter count for range() in <b>/in/3SC4f</b> on line <b>3</b><br />