PHP Pesquise a chave do valor maior

$key_of_max_value = array_search(max($arrCompare),$arrCompare);
Alberto Peripolli