Page MenuHomePhorge

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

Returns the last key of an array.

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