3 ms·
You managed to create an example of why I don't care for PHP... array_count_values(...) arsort(...) array_slice(...) Thinking.. two of these thing
by tracker1 13y ago
You managed to create an example of why I don't care for PHP...
array_count_values(...)
arsort(...)
array_slice(...)
Thinking.. two of these things belong together, two of these things are kind of the same.. but one of these things is doing his own thing...
Seriously built in method naming and argument ordering don't follow any consistent convention in PHP, that's always been the most irksome thing to me...