Re: [RFC] Internal operator overloading and GMP improvements

From: 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 [email protected] to get a copy of this message
On Fri, Jun 7, 2013 at 9:45 PM, Zeev Suraski <[email protected]> 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


Thread (30 messages)

« previous php.internals (#67658) next »