Re: zend_hash_sort_ex()

From: Date: Tue, 26 Oct 1999 20:22:23 +0000
Subject: Re: zend_hash_sort_ex()
References: 1 2 3  Groups: php.dev 
Request: Send a blank email to php-dev+get-11924@lists.php.net to get a copy of this message
At 03:10 PM 10/26/99 -0500, Andrei Zmievski wrote:
On Tue, 26 Oct 1999, Andi Gutmans wrote: As it is a hash elements are inserted pretty randomly in that list or at least you shouldn't count on them being inserted in a certain order. Are you sure this doesn't clash with what you intend to use it for? Well, I'd like to be able to sort only elements from 3 to 5 for example. Any way to do it currently?
No there is no way to do it currently. But I don't understand how you expect to do it. If you have 3 elements with keys 3,4,5 in a hash, it doesn't mean they are consecutive in the list. Andi --- Andi Gutmans <andi@zend.com> http://www.zend.com/

« previous php.dev (#11924) next »