ID: 31453 User updated by: cdturri at hotmail dot com Reported By: cdturri at hotmail dot com -Status: No Feedback +Status: Open Bug Type: Arrays related Operating System: win32 only PHP Version: 5CVS, 4CVS (2005-01-10) New Comment:
Tested on PHP 5.2.0RC3-dev (cli) (built: Aug 30 2006 20:21:41) under Apache 2.2.0/Windows and it is still an issue. Previous Comments: ------------------------------------------------------------------------ [2005-11-09 01:00:01] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, 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". ------------------------------------------------------------------------ [2005-11-01 11:30:31] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5-latest.tar.gz For Windows: http://snaps.php.net/win32/php5-win32-latest.zip ------------------------------------------------------------------------ [2005-01-11 00:54:33] [EMAIL PROTECTED] I can't reproduce this with Apache2-worker either so it's not ZTS problem. Just some weird windows bug again. ------------------------------------------------------------------------ [2005-01-10 23:53:49] cdturri at hotmail dot com OK, done my homework. Tested under IIS and Apache on Windows with the CVS builds provided by sniper (PHP4). Bug appeared on BOTH cases. Here are the headers: 2 Server: Microsoft-IIS/5.0 3 Date: Mon, 10 Jan 2005 22:45:26 GMT 4 X-Powered-By: ASP.NET 6 X-Powered-By: PHP/4.3.11-dev And: 2 Date: Mon, 10 Jan 2005 22:49:21 GMT 3 Server: Apache/2.0.52 (Win32) PHP/4.3.11-dev 4 X-Powered-By: PHP/4.3.11-dev As my previous comment I saw no needs to test it under PHP4 with the latest CVS builds in Linux since the bug did not appear on PHP 4.3.9 under Linux. So, we have nailed down the issue to this: - Bug appears on a Windows System running either IIS or Apache. - Bug appears on both PHP4 and PHP5 latest CVS builds. Couple of more findings: - The first key that array_rand() returns on the first run after the Web Server is restarted seems to be random. - Decreasing the number of keys on the INI file seems to increase the subset of keys that array_rand() incorrectly returns as random keys. - Inversely, increasing the number of keys on the INI file seems to decrease the subset of keys that array_rand() incorrectly returns as random keys. All yours guys! ------------------------------------------------------------------------ [2005-01-10 22:28:57] cdturri at hotmail dot com Hi, Tested under IIS 5.0 and the bug is indeed present. Headers: 1 HTTP/1.1 200 OK 2 Server: Microsoft-IIS/5.0 3 Date: Mon, 10 Jan 2005 21:36:20 GMT 4 X-Powered-By: ASP.NET 5 Content-type: text/html 6 X-Powered-By: PHP/5.0.3 Thanks, Christian ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/31453 -- Edit this bug report at http://bugs.php.net/?id=31453&edit=1