Re: [PHP-DEV] [VOTE] Userspace operator overloading

This is only part of a thread. view whole thread
March 25, 2020 10:44 (Benjamin Eberlei)
On Mon, Mar 23, 2020 at 6:58 PM> wrote:

> Hi internals, > > I have opened voting on >, which allows > users > to overload operators in their own classes. > > Voting closes on 2020-04-06. > > Regards, > Jan Böhmer >
Thank you. I voted yes on this for similar reasons than Nikita. I think it is confusing to users why internal objects can overload these and userland can't. The simplicity of exposing this is another plus. The potential for misuse is a non issue for me, because essentially this applies to most features, especially with existing magic methods we have a precedent that we can build upon instead of "repressing use".
> > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: > >