array_key_last

Gets the last key of an array

&reftitle.description; ``int``string``null```array_key_last` `array` `array`

Get the last key of the given `array` without affecting the internal array pointer.

&reftitle.parameters;

`array`

- An array.

&reftitle.returnvalues;

Returns the last key of `array` if the array is not empty; &null; otherwise.

&reftitle.seealso;

- `array_key_first`
- `end`