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

From: Date: Wed, 24 Feb 2016 21:31:24 +0000
Subject: Re: Re: PRNG: Raise warning and/or provide better pseudo random generator?
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-91380@lists.php.net to get a copy of this message
Hi Nikita, On Wed, Feb 24, 2016 at 9:00 PM, Nikita Popov <nikita.ppv@gmail.com> wrote: > 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. Reasonable suggestion! Adding warnings is trivial. It could done before RC. I'll wait until then. Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net

« previous php.internals (#91380) next »