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