Re: [RFC] Operator Overrides -- Lite Edition

From: Date: Sat, 29 Jun 2024 23:28:47 +0000
Subject: Re: [RFC] Operator Overrides -- Lite Edition
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-124068@lists.php.net to get a copy of this message
Hi, > Hello internals, > > I've updated the RFC to include final-ish examples (barring any further constructive > feedback), a prototype implementation, and an objections section. > > Cheers, > > Rob It seems like the "hack" I mentioned is still possible, am I misunderstanding something? And I don't understand the purpose of polyfills at all. If you're not using the GMP extensions and can't do operator overloading, won't you just have a class with protected methods that are never used and don't actually do anything? Regards, Saki

« previous php.internals (#124068) next »