Array_key_first não funciona
function array_key_first(array $array) { foreach ($array as $key => $value) { return $key; } }
QP2
function array_key_first(array $array) { foreach ($array as $key => $value) { return $key; } }