On Sat, Jan 2, 2016 at 7:14 PM, Sara Golemon <poll...@php.net> wrote: > Patricio Tarantino has asked me to help him propose Operator > Overloading in PHP 7.1 (based in part on my operator extension in > PECL). I think we can expose this to usespace as magic methods with > very little overhead (the runtime check and dispatch is already there, > after all). > > I do think that the "Future Expansion" section bears following through > with as well, but the basic set of methods already hooked for GMP > would be a nice start. > > https://wiki.php.net/rfc/operator-overloading
My ISP is having issues with no resolution in sight and I can't view the RFC right now. So sorry for asking a question that is probably answered in the RFC: this proposes using magic methods, not interfaces, correct? If so, what is the justification? -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php