array_key_last

PHP 7 >= 7.3.0, PHP 8
array_key_last - Gets the last key of an array

Example #1 of array_key_last

PHP Version: