[RFC] Differentiate op from assign-op in operator overloading

From: Date: Mon, 04 Jan 2016 00:37:38 +0000
Subject: [RFC] Differentiate op from assign-op in operator overloading
Groups: php.internals 
Request: Send a blank email to internals+get-89982@lists.php.net to get a copy of this message
This is a separate proposal from the userspace operator overloading I put up for Patricio yesterday and aims to fix what I see as a bug in our operator overloading implementation (though some may disagree). It specifically only seeks to differentiate const operations which produce a new value from mutations which alter an existing overloaded object. https://wiki.php.net/rfc/assignment-overloading

« previous php.internals (#89982) next »