Re: [RFC] Random Extension 3.0
| From: | Ben Ramsey | Date: | Sat, 04 Sep 2021 16:11:43 +0000 |
| Subject: | Re: [RFC] Random Extension 3.0 | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-115946@lists.php.net to get a copy of this message | ||
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
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc