Page MenuHomePhorge

function head_key($arr)
libphutil Technical Documentation (Core Utilities)

Returns the first key of an array.

Parameters
array$arrArray to retrieve the first key from.
Return
int|stringThe first key of the array.