Re: mt_rand() - the same forever?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux