note 38756 deleted from function.mt-rand by didou
| From: | didou@php.net | Date: | Tue, 06 Jan 2004 07:41:35 +0000 |
| Subject: | note 38756 deleted from function.mt-rand by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-62983@lists.php.net to get a copy of this message | ||
Note Submitter: anthony@rusbears.org
----
I used mt_rand in PHP 4.3.3 and I did mt_srand(time()) even though it was not required. The function
returned 0 all the time. Removing the line with mt_srand() helped.
Linux 7.3
Apache 1.23
PHP 4.3.3