Re: [RFC] Internal operator overloading and GMP improvements
| From: | Nikita Popov | Date: | Sat, 08 Jun 2013 12:53:54 +0000 |
| Subject: | Re: [RFC] Internal operator overloading and GMP improvements | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-67658@lists.php.net to get a copy of this message | ||
On Fri, Jun 7, 2013 at 9:45 PM, Zeev Suraski <zeev@zend.com> wrote:
> I would add that the purpose of this feature would be exclusive to
> extensions that implement mathematical concepts, where the operators are
> well defined. In other words, arbitrary precision math, vectors,
> matrices, etc. - yes; Incrementing or decrementing a picture object to
> change the white balance - no.
This seems like common sense... But just to be sure I added a note (and
your example) at the end of the
https://wiki.php.net/rfc/operator_overloading_gmp#applications_of_operator_overloadingsection
:)
Nikita