note 9021 added to srand
| From: | fgm at osinet dot fr | Date: | Wed, 11 Oct 2000 21:07:53 +0000 |
| Subject: | note 9021 added to srand | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-6388@lists.php.net to get a copy of this message | ||
I think one of the possibly best explanations why seeding repeatedly is not a good idea is in
Knuth's "The art of computer programming". Quite a masterpiece on (pseudo-)randomness
and many other similar issues (like factorization).
http://www.php.net/manual/function.srand.php