note 16582 added to function.mt-srand
| From: | crazyted at crazyted dot com | Date: | Mon, 05 Nov 2001 04:50:02 +0000 |
| Subject: | note 16582 added to function.mt-srand | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-20454@lists.php.net to get a copy of this message | ||
Could someone tell me if there'd be any problem with seeding mt_srand() with time()?
Seeing as time() is always different every time you call a script, would this not be a good choice?
Thanks!
--
http://www.php.net/manual/en/function.mt-srand.php
http://master.php.net/manage/user-notes.php?action=edit+16582
http://master.php.net/manage/user-notes.php?action=delete+16582
http://master.php.net/manage/user-notes.php?action=reject+16582