note 22198 deleted from function.srand by nlopess
| From: | nlopess@php.net | Date: | Tue, 11 May 2004 15:35:36 +0000 |
| Subject: | note 22198 deleted from function.srand by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-69470@lists.php.net to get a copy of this message | ||
Note Submitter: jesse-at-jgdataworks-dot-com
----
Something NOT TO DO, but interesting none the less. I was playing and found that if you use:
print md5( md5( microtime() * rand() ) . ( microtime() * rand() ) );
This will always be the same no matter how you seed it.