note 113978 added to function.mt-srand
| From: | php dot net-comment at lucb1e dot com | Date: | Wed, 25 Dec 2013 00:20:16 +0000 |
| Subject: | note 113978 added to function.mt-srand | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-198020@lists.php.net to get a copy of this message | ||
@ fasaxc at yahoo dot com:
If you want truly random numbers, use a truly random source. Your system is rather unwieldy when you
can simply call openssl_random_pseudo_bytes() for good randomness. Don't use microtime as a
source of randomness.
----
Server IP: 72.52.91.14
Probable Submitter: 72.52.91.14
----
Manual Page -- http://php.net/manual/en/function.mt-srand.php
Edit -- https://master.php.net/note/edit/113978
Del: integrated -- https://master.php.net/note/delete/113978/integrated
Del: useless -- https://master.php.net/note/delete/113978/useless
Del: bad code -- https://master.php.net/note/delete/113978/bad+code
Del: spam -- https://master.php.net/note/delete/113978/spam
Del: non-english -- https://master.php.net/note/delete/113978/non-english
Del: in docs -- https://master.php.net/note/delete/113978/in+docs
Del: other reasons-- https://master.php.net/note/delete/113978
Reject -- https://master.php.net/note/reject/113978
Search -- https://master.php.net/manage/user-notes.php