3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php // Everything you enter here will be executed by our servers. Try it! $a = array(); for ($i = 0; $i < 20; $i++) { $a[] = (int) sprintf('%02d', $i); } echo implode($a, ',');
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19