$key
foreach
$array = ['key1'=>1234, 'key2'=>2345, 'key3'=>3457]; foreach ($array as $key => $item) { } echo $key; // key3
Pro tip: use ```triple backticks around text``` to write in code fences