Re: Re: [RFC] Userspace operator overloading

From: Date: Mon, 02 Mar 2020 16:56:13 +0000
Subject: Re: Re: [RFC] Userspace operator overloading
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-108811@lists.php.net to get a copy of this message
> On Mar 2, 2020, at 9:30 AM, Nikita Popov <nikita.ppv@gmail.com> wrote: > > On Thu, Feb 27, 2020 at 9:43 PM <jan.h.boehmer@gmx.de> wrote: > >> I have changed the proposed names for the bitshift handlers to '__lshift' >> and '__rshift' (instead of __sl and __sr) to make more clear what operator >> is handled by the method (also the method names are now mostly consistent >> with the Python equivalents). >> > > Naming: If we're already going for more verbose names, I'd prefer > __shiftLeft over __lshift. Yes, please. -Mike

« previous php.internals (#108811) next »