Re: Bug #12455 Updated: Srand and shuffle give odd results
| From: | Heikki Korpela | Date: | Tue, 31 Jul 2001 15:04:22 +0000 |
| Subject: | Re: Bug #12455 Updated: Srand and shuffle give odd results | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-61651@lists.php.net to get a copy of this message | ||
On 31 Jul 2001 sulka@sulake.com wrote:
> Then load the load100times.php in your browser. The result
> should be 100 but is still 4 on the machines I'm testing
> on.
It works fine here. (4.0.6 on OpenBSD 2.9-current.)
Maybe your system's random functions are broken. Which random
function does your php_rand() call anyway?
--
<---------------------------------------------------------------------->
Heikki Korpela -- heko@iki.fi -- http://iki.fi/heko/