note 105048 deleted from function.mt-rand by danbrown
| From: | danbrown@php.net | Date: | Mon, 25 Jul 2011 12:19:20 +0000 |
| Subject: | note 105048 deleted from function.mt-rand by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-181823@lists.php.net to get a copy of this message | ||
Note Submitter: randtester at nomail dot com
----
To alex at khimic:
I ran you example on Debian (the latest stable version as of today) and both rand() and mt_rand()
produced random noise (that looked like what a TV shows when no TV channel is being received).
The bottom line is, rand() is not broken on all platforms and in all environments. You should test
it.
Thanks for the test. It's really interesting and helpful.