[wp-trac] [WordPress Trac] #16753: PHP5-port - microtime() use
WordPress Trac
wp-trac at lists.automattic.com
Sat Mar 5 10:27:41 UTC 2011
#16753: PHP5-port - microtime() use
--------------------------+-----------------------------
Reporter: hakre | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.1
Severity: normal | Keywords: has-patch
--------------------------+-----------------------------
See [http://www.php.net/manual/en/function.microtime.php microtime()] for
details.
In microtime() related code
[http://www.php.net/manual/en/function.uniqid.php uniqid()] with more
entropy does not need a prefix. And there is no need to seed the random
number generator. See [http://www.php.net/manual/en/function.srand.php
srand()] for details.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16753>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list