我有一个像这样的数组:
Array
(
[0] => Array
(
[0] => a
[1] => a
[2] => b
[3] => c
[4] => b
[5] => c
[6] => b
)
)
所以我必须用计数总数来按组制作数组。数组之类的(输出):
a = 2
b = 3
c = 2
如果数组的使用次数是计数的a
两倍。a
2