我有这个数组...
Array (
[1168] => 46
[6973] => 27
[4585] => 24
[1224] => 23
[2010] => 20
[7514] => 19
[1167] => 17
[8349] => 7
[2476] => 7
[5313] => 7
[1208] => 2
)
我需要在前一个数组中获取三个具有最高值的键(作为值):
Array (
[0] => 1168
[1] => 6973
[2] => 4585
)
我有这个数组...
Array (
[1168] => 46
[6973] => 27
[4585] => 24
[1224] => 23
[2010] => 20
[7514] => 19
[1167] => 17
[8349] => 7
[2476] => 7
[5313] => 7
[1208] => 2
)
我需要在前一个数组中获取三个具有最高值的键(作为值):
Array (
[0] => 1168
[1] => 6973
[2] => 4585
)