[RFC] [Under Discussion] Random Extension 4.0
| From: | Go Kudo | Date: | Mon, 14 Feb 2022 11:11:21 +0000 |
| Subject: | [RFC] [Under Discussion] Random Extension 4.0 | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-117026@lists.php.net to get a copy of this message | ||
It's been a while Internals. I'm Go Kudo.
First of all, I would like to apologize for leaving my previous RFC, object
scoped RNG, and the preliminary RFC, split random extension, without any
progress.
The implementation of these RFCs was not sophisticated and failed to be
tested for a long time. In particular, we could not find the time to work
on them on Windows, and they were abandoned.
You may have noticed that my email address has changed. This is because I
have been assigned to work on this RFC and implementation as part of my
company. This has given me the equipment and time to debug in a variety of
environments.
Some people may have a negative impression about this change, but don't
worry. The RFC is still in the form of a feature proposal, and all rights
are reserved by the PHP Group.
Before we get into the RFC, let me explain again how this RFC came to be
proposed.
First, I started to implement an object-level scoped RNG in PHP to solve
the current issue. This is still available in PECL today.
https://pecl.php.net/package/orng
https://github.com/zeriyoshi/php-ext-orng
Later, I found in the PHP Internals ML logs that an implementation of RNG
with object-level scoping had been considered before, and was well received
at the time. However, it seems that the actual implementation was not done
at that time.
https://externals.io/message/98021#98130
After that, I started the first RFC and Vote. The result was a Decline, but
that was mainly due in part to the strange APIs.
https://wiki.php.net/rfc/object_scope_prng
The refreshed RFC and implementation are available at the following URL:
https://wiki.php.net/rfc/rng_extension
https://github.com/php/php-src/pull/8094
If there are no specific comments, I would like to start voting as soon as
the two-week pre-announcement phase is over.
Regards.
Go Kudo