note 97652 added to function.rand
| From: | dean at deanmyerson dot org | Date: | Fri, 30 Apr 2010 16:56:22 +0000 |
| Subject: | note 97652 added to function.rand | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-168818@lists.php.net to get a copy of this message | ||
What about just putting your set of characters in an array and using shuffle(), then just substr()
the amount of it you want?
----
Server IP: 69.147.83.197
Probable Submitter: 76.2.2.26
----
Manual Page -- http://www.php.net/manual/en/function.rand.php
Edit -- https://master.php.net/note/edit/97652
Del: integrated -- https://master.php.net/note/delete/97652/integrated
Del: useless -- https://master.php.net/note/delete/97652/useless
Del: bad code -- https://master.php.net/note/delete/97652/bad+code
Del: spam -- https://master.php.net/note/delete/97652/spam
Del: non-english -- https://master.php.net/note/delete/97652/non-english
Del: in docs -- https://master.php.net/note/delete/97652/in+docs
Del: other reasons-- https://master.php.net/note/delete/97652
Reject -- https://master.php.net/note/reject/97652
Search -- https://master.php.net/manage/user-notes.php