ID: 10449
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Analyzed
Bug Type: Arrays related
Operating System: Solaris
PHP Version: 4.0.4pl1
New Comment:

This is another report about shuffle() problems.
And using mt_rand() would (IMO) be a good solution.


Previous Comments:
------------------------------------------------------------------------

[2001-04-23 01:24:14] [EMAIL PROTECTED]

I know it is a known problem with the rand() implementation on some systems - so my 
question is: Why not implement the shuffle function in a way that does not stuff up on 
some systems e.g. use the mt_rand() function with its known randomness and known 
random implementation - and save everyone on Solaris systems (and possibly others) 
from having to write their own shuffle functions (which I have be forced to do).

Thanks.

------------------------------------------------------------------------



Edit this bug report at http://bugs.php.net/?id=10449&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to