3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php for($i=1;$i<=10;$i++) { for($l=0;$l<=$i;$l++) { echo $i; echo"\n"; } }
based on cMRQ6
Output for 4.3.0 - 7.1.0
1 1 2 2 2 3 3 3 3 4 4 4 4 4 5 5 5 5 5 5 6 6 6 6 6 6 6 7 7 7 7 7 7 7 7 8 8 8 8 8 8 8 8 8 9 9 9 9 9 9 9 9 9 9 10 10 10 10 10 10 10 10 10 10 10