Indeed, it may be true that these suggestions should not be made all at
once. If necessary, I would like to propose to organize the RNG
implementation first.

Do we still need an RFC in this case? I'm not sure I'm not fully understand
the criteria for an RFC. Does this internal API change count as a BC Break
that requires an RFC?

> Personally, I don't see the benefit of including this OOP API in the core.

On the other hand, can you tell me why you thought it was unnecessary?
Was my example unrealistic?

I'm sorry if my English is not good and my writing seems offensive. I have
no intention to do so.

Regards,
Go Kudo

2021年9月5日(日) 1:12 Ben Ramsey <ram...@php.net>:

> Go Kudo wrote on 9/2/21 10:10:
> > Hi Internals.
> >
> > Expanded from the previous RFC and changed it to an RFC that organizes
> the
> > whole PHP random number generator. Also, the target version has been
> > changed to 8.2.
> >
> > https://wiki.php.net/rfc/rng_extension
> > https://github.com/php/php-src/pull/7453
> >
> > Hopefully you will get some good responses.
> >
> > Regards,
> > Go Kudo
> >
>
>
> This proposal seems like two different proposals to me:
>
> - The first consolidates and cleans up RNG functions for internals
> - The second exposes an OOP API for working with RNGs
>
> Personally, I don't see the benefit of including this OOP API in the
> core. I don't think it provides any benefits over similar abstractions
> in userland, and in fact, I think this kind of API is best suited for
> iteration in userland.
>
> Cheers,
> Ben
>
>

Reply via email to