function head_key($arr)libphutil Technical Documentation (Core Utilities)
function head_key($arr)
libphutil Technical Documentation (Core Utilities)
Returns the first key of an array.
Parameters
array | $arr | Array to retrieve the first key from. |
Return
int|string | The first key of the array. |
- Defined
- src/utils/utils.php:840