RE: [PHP-DEV] [RFC] Internal operator overloading and GMP improvements
| From: | Zeev Suraski | Date: | Sun, 09 Jun 2013 08:00:41 +0000 |
| Subject: | RE: [PHP-DEV] [RFC] Internal operator overloading and GMP improvements | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-67663@lists.php.net to get a copy of this message | ||
It wouldn’t have been the first time that something that seems common
sense, suddenly becomes controversial a few years later J Better safe than
sorry.
I made some changes to the phrasing of the final paragraph in this section
(please review and make sure you’re good with it) – I think the list you
added is great.
Thanks,
Zeev
*From:* Nikita Popov [mailto:nikita.ppv@gmail.com]
*Sent:* Saturday, June 08, 2013 3:54 PM
*To:* Zeev Suraski
*Cc:* Dmitry Stogov; PHP internals
*Subject:* Re: [PHP-DEV] [RFC] Internal operator overloading and GMP
improvements
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