On 01/16/2015 03:54 PM, Simon J Welsh wrote:
> That’s an invalid comparison function. It causes the current usort to reverse 
> sort the array and I see no problem with that changing (you’re saying that a 
> value for $a less than $b is in fact greater than it, and a value of $b less 
> than or equal to $a is equal to it).

Your didn't make much sense. But yes, I am aware it is a weird
comparison function taken from an existing app which is now broken under
PHP7 but it only breaks if the array grows beyond 16 elements.
If we are going to make a BC change here, it shouldn't be in a way that
is dependent on the size of the array being sorted.

-Rasmus


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to