Re: [VOTE] Userspace operator overloading

From: Date: Wed, 25 Mar 2020 10:44:38 +0000
Subject: Re: [VOTE] Userspace operator overloading
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-109284@lists.php.net to get a copy of this message
On Mon, Mar 23, 2020 at 6:58 PM <jan.h.boehmer@gmx.de> wrote: > Hi internals, > > I have opened voting on > https://wiki.php.net/rfc/userspace_operator_overloading, 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: http://www.php.net/unsub.php > >

« previous php.internals (#109284) next »