note 77550 deleted from function.mt-srand by googleguy
| From: | googleguy@php.net | Date: | Tue, 22 Oct 2013 08:00:32 +0000 |
| Subject: | note 77550 deleted from function.mt-srand by googleguy | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-196715@lists.php.net to get a copy of this message | ||
Note Submitter: Joe
----
In some cases it is necessary to be able to create same sequence of pseudo-random numbers. E.g. to
run repeatable simulation run with different parameters. Since php 5.2.1 it is not possible even
using same seed in mt_srand function. For such cases use srand instead.