note 105075 added to function.rand
| From: | itsupport at adoptionassociates dot net | Date: | Tue, 26 Jul 2011 14:19:17 +0000 |
| Subject: | note 105075 added to function.rand | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-181881@lists.php.net to get a copy of this message | ||
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.
----
Server IP: 69.147.83.197
Probable Submitter: 12.34.39.161
----
Manual Page -- http://www.php.net/manual/en/function.rand.php
Edit -- https://master.php.net/note/edit/105075
Del: integrated -- https://master.php.net/note/delete/105075/integrated
Del: useless -- https://master.php.net/note/delete/105075/useless
Del: bad code -- https://master.php.net/note/delete/105075/bad+code
Del: spam -- https://master.php.net/note/delete/105075/spam
Del: non-english -- https://master.php.net/note/delete/105075/non-english
Del: in docs -- https://master.php.net/note/delete/105075/in+docs
Del: other reasons-- https://master.php.net/note/delete/105075
Reject -- https://master.php.net/note/reject/105075
Search -- https://master.php.net/manage/user-notes.php