foreach where value and key php code example Example: php foreach dict get key foreach (iterable_expression as $key => $value) statement