$max = array('o' => 1, 'x' => 2, 'z' => 4, '9' => 7, 'e' => -2);
asort($max); // asort() - 根据值,以升序对关联数组进行排序
list($key,$value) = array(array_keys($max,end($max))[0], end($max));
echo $key ."***********". $value;
$max = array('o' => 1, 'x' => 2, 'z' => 4, '9' => 7, 'e' => -2);
asort($max); // asort() - 根据值,以升序对关联数组进行排序
list($key,$value) = array(array_keys($max,end($max))[0], end($max));
echo $key ."***********". $value;