Re: mt_srand with array seed?
| From: | Lauri Kenttä | Date: | Fri, 12 Aug 2016 18:48:39 +0000 |
| Subject: | Re: mt_srand with array seed? | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-95102@lists.php.net to get a copy of this message | ||
On 2016-08-12 21:40, Tom Worster wrote:
mt_srand() will work. But what would be in the array? Integers from which the upper 32 bits, if they exist, are discarded?mt19937ar.c contains init_by_array. Compability with that would probably be a good goal, unless someone can point out another widely used implementation. -- Lauri Kenttä