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