RE: [PHP-DEV] [RFC] Internal operator overloading and GMP improvements
| From: | Zeev Suraski | Date: | Sun, 09 Jun 2013 13:37:33 +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 14 15 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-67665@lists.php.net to get a copy of this message | ||
What I meant by cumulativity in that context is really commutativity J
Fixed (and also added transitivity).
In other words, operands that are commutative in PHP (like addition,
multiplication, etc.) – one should not overload for domains where they’re
not commutative.
Zeev
*From:* Nikita Popov [mailto:nikita.ppv@gmail.com]
*Sent:* Sunday, June 09, 2013 4:20 PM
*To:* Zeev Suraski
*Cc:* PHP internals
*Subject:* Re: [PHP-DEV] [RFC] Internal operator overloading and GMP
improvements
On Sun, Jun 9, 2013 at 10:00 AM, Zeev Suraski <zeev@zend.com> wrote:
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.
Looks good. One question though, what do you mean by "cumulativity" in that
context?
Nikita