Re: Re: PRNG: Raise warning and/or provide better pseudo random generator?

From: Date: Wed, 24 Feb 2016 12:00:55 +0000
Subject: Re: Re: PRNG: Raise warning and/or provide better pseudo random generator?
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-91376@lists.php.net to get a copy of this message
On Wed, Feb 24, 2016 at 1:27 AM, Yasuo Ohgaki <yohgaki@ohgaki.net> wrote: > Hi all, > > On Tue, Feb 23, 2016 at 7:41 PM, Yasuo Ohgaki <yohgaki@ohgaki.net> wrote: > > Any comments for adding out of range warnings to rand()/mt_rand()? If > > nobody has comment on this, I'll write RFC for additional warnings. > > Anyone prefer to extend rand()/mt_rand() for 64bit OSes? > > I'll write RFC to raise errors for invalid range, hopefully this weekend. > > Thank you for feedback! > I think it would be preferable to wait a bit -- there's clearly interest in replacing rand/mt_rand etc with a higher quality PRNG, so maybe lets give people time to create a proposal for that before we start throwing warnings. Nikita

« previous php.internals (#91376) next »