{foreach 1..10 as $i offset 5 limit 2} {$i} {/foreach}