Re: srand questions
| From: | Jim Giner | Date: | Thu, 12 Jan 2012 18:55:11 +0000 |
| Subject: | Re: srand questions | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-316276@lists.php.net to get a copy of this message | ||
The manual notes some of your concerns - especially the lack of a need to do
a 'seeding' and (since 5.2.1) the presence of a new algorithm that generates
a unique sequence regardless if the 'seed' is repeated. Furthermore, since
there is no need to do a seed, I would guess that each call to the function
mt_rand utilizes a new 'seed' internally, which the developer need not worry
about.
Just my $.02.