array_key_first()
function array_key_first(array $array): mixed
Gets the first key of an array.
Parameters:
$array(array)
Returns: mixed
No examples yet — check examples/ and showcases/ for usage patterns.
Internals
For how array_key_first is implemented in the compiler, see the internals page.