php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #27419 shuffle no longer working properly
Submitted: 2004-02-27 09:51 UTC Modified: 2004-03-08 07:13 UTC
From: php at zoobio dot net Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 4.3.4 OS: redhat 9
Private report: No CVE-ID: None
 [2004-02-27 09:51 UTC] php at zoobio dot net
Description:
------------
My web host just upgraded to 4.3.4 from the previous most recent version, and now my shuffle script does not work properly.  It acts as though the seed generator is no longer a part of the function call.  I have been using it to output information from a mysql database.  The output from the shuffle is always the same, though it isn't in the order of the mysql table.



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-02-27 09:53 UTC] php at zoobio dot net
Description:
------------
My web host just upgraded to 4.3.4 from 4.3.2, and now my shuffle script does not work properly.  It acts as
though the seed generator is no longer a part of the function call.  I
have been using it to output information from a mysql database.  The
output from the shuffle is always the same, though it isn't in the order
of the mysql table.
 [2004-03-01 02:21 UTC] irchtml@php.net
Please post a (short) script that will re-create the problem.
 [2004-03-01 03:04 UTC] derick@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

Please try a snapshot first, afaik this is already fixed.
 [2004-03-08 07:13 UTC] sniper@php.net
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.

This is already fixed.

 [2012-07-03 10:12 UTC] powtac at gmx dot de
A test which shows the problem can be found here: http://3v4l.org/tcDDJ#v433 and here: http://3v4l.org/Y76qt#v433
 [2012-07-03 10:21 UTC] powtac at gmx dot de
If this bug is fixed and tested in a newer version or merged within an other bug report, please close/merge it.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Sep 18 22:01:26 2024 UTC