php search the key off bigger value
snippet in php

php search the key off bigger value

user6767

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