array:2 [▼ "aa" => array:6 [▼ "comboNameId" => 1 "sku" => "aa" "lineItem" => "x" "qty" => 1 "lineItem1" => "y" "qty1" => 2 ] "bb" => array:8 [▼ "comboNameId" => 1 "sku" => "bb" "lineItem" => "111" "qty" => 111 "lineItem1" => "222" "qty1" => 2 "lineItem2" => "333" "qty2" => 3 ] ]
这个是我循环得到的一个数组,现在我需要找到这个二维数组最多个数的那一个放到数组最上面去就好,不需要将数组进行排序。请问如何实现呀?
翻阅古今
慕无忌1623718