Re: [RFC] RNG fixes
| From: | Christoph Becker | Date: | Tue, 14 Jun 2016 18:56:53 +0000 |
| Subject: | Re: [RFC] RNG fixes | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-93970@lists.php.net to get a copy of this message | ||
On 14.06.2016 at 20:46, Leigh wrote:
> On Tue, 14 Jun 2016 at 19:14 Christoph Becker <cmbecker69@gmx.de> wrote:
>
>> In my opinion, we need at least one random function which yields
>> reproducible values.
>
> Even with the proposed changes both functions will still be capable of
> reproducible sequences, just different sequences than before the changes.
Yes, I'm aware of that, and that change isn't an issue for me (except
maybe that it might happen in a minor version). I was responding to
Richard (Fleshgrinder) who suggested to remove rand() and mt_rand()
alltogether, because there is random_int().
--
Christoph M. Becker