Hi internals, I would like to request RFC karma on the PHP wiki to publish a draft RFC titled "Typed Operator Methods".
Wiki username: ahmednour Summary: The proposal introduces typed arithmetic operator overloading (+, -, *, /, %, **) for readonly value classes via an opt-in Operable interface and magic methods (__add, __sub, __mul, __div, __mod, __pow). It is a narrower successor to the 2022 operator overloading RFC with mandatory strict parameter and return types. A working implementation is already open as a draft PR here: https://www.google.com/url?q=https://github.com/php/php-src/pull/25670&source=gmail&ust=1795534782154000&sa=E Thank you! Best regards, Ahmed Nour
