In addition to FatBat's response, if you'd like to find out the highest key in an array (assoc or not) but don't want to arsort() it, take a look at this:
<?php
$arr = [ '3' => 14, '1' => 15, '4' => 92, '15' => 65 ];
$key_of_max = array_search( max($arr) , $arr);
?>