array_key_last()
function array_key_last(array $array): mixed
Gets the last key of an array.
Parameters:
$array(array)
Returns: mixed
Availability
- Compiled (AOT): supported by the Elephc code generator.
eval()(magician interpreter): not available inside eval’d code.
No examples yet — check examples/ and showcases/ for usage patterns.
Internals
For how array_key_last is implemented in the compiler, see the internals page.