<?php $x = ["a", "b", "c", "d", "e"]; $count = count($x); for ($i = 0, $limit = $count * 2; $i < $limit; ++$i) { echo $x[$i % $count] . "\n"; }
You have javascript disabled. You will not be able to edit any code.