array_key_last
symfony/var-dumper
Supported Versions: PHP 7 >= 7.3.0, PHP 8
Gets the last key of an array
<?php array_key_last
(array
$array
):
int
|
string
|
null