{{foreach seasons as season}}
$seasons = array(); $seasons[] = 'Spring'; $seasons[] = 'Summer'; $seasons[] = 'Autumn'; $seasons[] = 'Winter';
{{foreach seasons as season}} <div>Seasons[{{season.id}}] = {{season.name}};</div> {{endforeach}}