Re: Re: zend_hash_sort_ex()
| From: | Andrei Zmievski | Date: | Tue, 26 Oct 1999 20:23:49 +0000 |
| Subject: | Re: Re: zend_hash_sort_ex() | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-11927@lists.php.net to get a copy of this message | ||
On Tue, 26 Oct 1999, Andi Gutmans wrote:
> I think the only way to do it is to have your sort function receive a list
> of keys which you want sorted first, and it'll sort them in order and put
> all the rest at the end of the list (or leave them where they are).
If I sort a hash on values, how will the elements be arranged in the
list? What does zend_hash_rehash() do?
-Andrei
"Freedom comes when you learn to let go.
Creation comes when you learn to say no."
-madonna