note 97653 deleted from function.rand by danbrown
| From: | danbrown@php.net | Date: | Fri, 30 Apr 2010 17:10:14 +0000 |
| Subject: | note 97653 deleted from function.rand by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-168823@lists.php.net to get a copy of this message | ||
Note Submitter: dean at deanmyerson dot org
----
To be more specific:
$str = range('a', 'z');
shuffle(&$str);
$str2 = implode('', $str);
$res = substr($str2, 0, 10);
echo $res;