note 105075 deleted from function.rand by danbrown
| From: | danbrown@php.net | Date: | Tue, 26 Jul 2011 16:12:05 +0000 |
| Subject: | note 105075 deleted from function.rand by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-181890@lists.php.net to get a copy of this message | ||
Note Submitter: itsupport at adoptionassociates dot net
----
Alex, thanks for the code to visualize randomness. The variable 'ink1' should actually be
'ink'.
When I generated the picture on my server, I saw a random distribution. What this shows us is that
randomness is not entirely controlled by the language, but by the underlying operating system or
computer hardware. Some machines do a better job at generating random or pseudorandom number
sequences than others.
Your graphic shows how successful your computer is at this.