Re: [PHP3] usort bug?

From: Date: Wed, 26 May 1999 20:39:05 +0000
Subject: Re: [PHP3] usort bug?
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-6036@lists.php.net to get a copy of this message
> If I remember something I read somewhere correctly, the problem > could be that the Solaris libc() implementation of the underlying > qsort() function dumps core if the comparison function does not > return consistent results for the same two operands (or perhaps it > is if you say a < b and b < c, and then c < a). The built-in function > will probably show this same misbehavior. Ouch! I didn't know about this one. Tossing our own quicksort algorithm into the code might be worth doing then. -Rasmus -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#6036) next »