[PHP-DEV] shuffle

2002-01-11 Thread brad lafountain
Hello, i was looking into this bug. http://bugs.php.net/bug.php?id=7045 i wrote a soultion... but i was wondering where to implement it. It could be implemented as void zend_hash_rand(HashTable *ht); or int php_rand_sort(void *b, size_t n, size_t s, int (*cmp)(const void *, const void *)); by

[PHP-DEV] Shuffle() - change of algorithm needed (also relevant for array_rand())

2001-10-18 Thread Jeroen van Wolffelaar
Resent due to lack of feedback. Objections against me changing it to the behaviour I described below? --Jeroen - Original Message - From: "Jeroen van Wolffelaar" <[EMAIL PROTECTED]> To: "PHP Developers Mailing List" <[EMAIL PROTECTED]> Sent: Monday, October 15, 2001 9:45 PM Subject: Re: