Am 18.10.2023 um 18:42 schrieb Larry Garfield <la...@garfieldtech.com>: > So the real question is: Would anyone who voted No on operator overloading > before vote Yes on it if it used ~=, ~>, ~+, etc. instead?
I confess that I'm not a fan of operator overloading for a language like PHP but introducing new operators on top of making them overloadable seems a bad idea. Operators have the problem of being hard to look up and prefixing them with ~ feels like the worst of both worlds. Regards, - Chris -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://www.php.net/unsub.php