我有一个在 for 循环中运行的数组
例如
Array
(
[0] => xyz
[1] => abc
)
Array
(
[0] => xyz
[1] => abc
)
Array
(
[0] => xyz.com
[1] => xyz.co.uk
[2] => xyz-west.co.uk
[3] => xyz.com
[4] => xyz.co.uk
[5] => xyz.com
[6] => xyz.com
)
Array
(
[0] => xyz.com
[1] => xyz.ca
[2] => xyz.com
[3] => xyz.com
[4] => xyz.com
[5] => xyz.com
[6] => xyz.com
[7] => xyz.com
[8] => xyz
)
现在我想知道是否有办法获得具有最大数组计数的前五个数组(即其中包含最大元素)