Re: [RFC] RNG fixes
| From: | Leigh | Date: | Tue, 14 Jun 2016 22:19:31 +0000 |
| Subject: | Re: [RFC] RNG fixes | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-93983@lists.php.net to get a copy of this message | ||
On Tue, 14 Jun 2016 at 20:56 Davey Shafik <davey@php.net> wrote:
>
> I think as this is a BC break it should require the 2/3 majority. I do
> support fixing the RNGs though.
>
Sure if there's a consensus on that, I have no problem with it.
Have you done any checks on GitHub etc to see how widespread this usage is?
> I'd like to get some data on that too.
>
I have checked, but it's really difficult to find legitimate use cases of
srand and mt_srand. I spent some time stacking up "NOT xyz" terms in the
search, and still didn't find anything that actually relied on
deterministic streams of numbers.