You can use array_count_values for group and count same value like: $array = [2,2,5,2,2]; $countarray = array_count_values($array); ...
確定! 回上一頁