PHP 4.0 Bug #6330 Updated: rand() and mt_rand() caches their result
| From: | Bug Database | Date: | Thu, 24 Aug 2000 10:42:41 +0000 |
| Subject: | PHP 4.0 Bug #6330 Updated: rand() and mt_rand() caches their result | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-30494@lists.php.net to get a copy of this message | ||
ID: 6330
Updated by: stas
Reported By: dave@arthistory.cc
Status: Closed
Bug Type: Misbehaving function
Assigned To:
Comments:
You should use srand before using rand.
Full Bug description available at: http://bugs.php.net/?id=6330