Bug #10449 Updated: shuffle() function crashes PHP
| From: | php-bugs at lists dot php dot net | Date: | Wed, 03 Apr 2002 05:00:04 +0000 |
| Subject: | Bug #10449 Updated: shuffle() function crashes PHP | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-3874@lists.php.net to get a copy of this message | ||
ID: 10449
Updated by: php-bugs@lists.php.net
Reported By: sthurrowgood@yahoo.com.au
-Status: Feedback
+Status: No Feedback
Bug Type: Arrays related
Operating System: Solaris
PHP Version: 4.0.4pl1
New Comment:
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
Previous Comments:
------------------------------------------------------------------------
[2002-02-26 21:51:28] yohgaki@php.net
Is this still a issue?
Reporter, could you update php version if you have problem with 4.1.1,
or close this bug if you have problem.
Thank you.
------------------------------------------------------------------------
[2001-10-21 01:30:06] sniper@php.net
This is another report about shuffle() problems.
And using mt_rand() would (IMO) be a good solution.
------------------------------------------------------------------------
[2001-04-23 01:24:14] sthurrowgood@yahoo.com.au
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