Re: mt_rand() - the same forever?
| From: | Richard Heyes | Date: | Sun, 05 Oct 2008 19:52:48 +0000 |
| Subject: | Re: mt_rand() - the same forever? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-281453@lists.php.net to get a copy of this message | ||
> I wonder whether I can rely on the stability of mt_srand() and
> mt_rand(). I want them to generate the same sequence for a fixed seed,
> regardless of PHP version. Do you think I can trust it?
> Janek
Keep in mind (if you're not already) that mt_rand() doesn't
technically need to be seeded.
--
Richard Heyes
HTML5 Graphing for FF, Chrome, Opera and Safari:
http://www.phpguru.org/RGraph