On Friday, 28 June 2024 at 18:46, Rob Landers <[email protected]> wrote:
> Hello internals,
>
> I'd like to introduce a new RFC: https://wiki.php.net/rfc/operator_overrides_lite
> which extends the GMP extension to support a limited set of operator overriding to developers.
> It's designed to be limited and relatively simple, while still being quite powerful. It would
> only be available if you have the GMP extension installed and enabled, but would allow for creating
> powerful unit libraries (such as representing money, duration, etc)
The design of this RFC is non-sensical.
If you want to do operator overloading via an extension, then create a dedicated extension instead
of piggy-backing on an already existing extension,
this makes even less sense considering the extension is not always available.
You wouldn't even need an RFC as you could just write an extension and publish it on PECL and
see if people adopt it.
As such I will be voting no on this proposal.
Sincerely,
Gina P. Banyard