Image

Imageelvishly wrote in Imagephp

array_count_value

Hello,

Is it possible to rank array_count_value() in order of... count?

e.g.

$array = array(1,1,2,2,2,3);
array_count_value($array);

It would output, in this order: 2, 1, 3 because 2 has the highest frequency.

Thanks in advance!


SOLVED!