Re: Re: Use of php_mt_rand() rather than php_rand()
| From: | Yasuo Ohgaki | Date: | Thu, 17 Jul 2014 10:20:35 +0000 |
| Subject: | Re: Re: Use of php_mt_rand() rather than php_rand() | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-75664@lists.php.net to get a copy of this message | ||
Hi Pierre,
On Thu, Jul 17, 2014 at 3:52 PM, Pierre Joye <pierre.php@gmail.com> wrote:
> On Thu, Jul 17, 2014 at 1:02 AM, Yasuo Ohgaki <yohgaki@ohgaki.net> wrote:
> > RFC for this is created.
> >
> > https://wiki.php.net/rfc/use-php_mt_rand
> >
> > New rand() function name is TBD. I cannot think of good name, but
> > I like rand_system(). rand() may stay as it is now also.
>
> I have mixed feelings about that.
>
> What did change since our last discussions? What are the benefits to
> do it now? Also I really do no think it is worse the effort and the
> addition to do it in 5.x. Yes, there are still apps out there relying
> on rand only for areas where it should not be used, but how is it our
> problem? I mean: the documentation is clear, have been updated and
> clarified many times.
>
> I'd rather focus on doing one set of APIs for RNG for php6 and leave
> that untouch for now.
Would like me to address RNG? It's ok for me.
This is not a critical issue. I don't mind at all to postpone this change.
I'll wait to finish RNG implementation, then decide what we will do for
this.
I would like to finish session related changes first. (Most critical issue
will be
addressed in session-ng, though)
Regards,
--
Yasuo Ohgaki
yohgaki@ohgaki.net