3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo implode(",",range(100,300,10)); ?>
Output for 5.0.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
100,110,120,130,140,150,160,170,180,190,200,210,220,230,240,250,260,270,280,290,300
Output for 4.3.2 - 4.4.9
Warning: Wrong parameter count for range() in /in/fQ1Lr on line 2 Warning: implode(): Bad arguments. in /in/fQ1Lr on line 2
Output for 4.3.0 - 4.3.1
Warning: Wrong parameter count for range() in /in/fQ1Lr on line 2 Warning: implode() [http://www.php.net/function.implode]: Bad arguments. in /in/fQ1Lr on line 2