note 12015 rejected and deleted from function.srand.php by jmcastagnetto

From: Date: Mon, 19 Mar 2001 08:52:20 +0000
Subject: note 12015 rejected and deleted from function.srand.php by jmcastagnetto
Groups: php.notes 
Request: Send a blank email to php-notes+get-12538@lists.php.net to get a copy of this message
richard@zend.com said above: >*ALWAYS* use (double)microtime()*1000000 as your seed. >Do *NOT* just use time(). Do not add an extra 0 to make it "bigger". ... >Anything else is sub-standard. ... >For now, just trust the PHP Developers, okay? If anything else is "sub-standard", why not make the seed argument optional, and make the default (double)microtime()*1000000 when the argument is absent? Save me a few keystrokes, anyway, and help make sure people don't do it in a "sub-standard" fashion... :)

« previous php.notes (#12538) next »