{cycle $a = array("a", "b", "c" )} {cycle $b = 1..3} {foreach 1..10 as $i increment $a decrement $b offset 2 limit 7} {$i} : {$a} : {$b} {/foreach}