Page MenuHomePhorge

function last_key($arr)
Arcanist Technical Documentation ()

Returns the last key of an array.

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