<?php foreach ($iterable as $key => $value) { // foreach body }