On 21 October 2014 09:01, Joe Watkins <pthre...@pthreads.org> wrote: > > ZEND_CONCAT is overloaded, as well as read_dimension and cast (to > string) handlers. This seems to cover everything, unless I missed > something ? >
ZEND_CONCAT and ZEND_ASSIGN_CONCAT were my primary concerns, I didn't see any mention of these in the RFC which is why I brought it up (maybe it should be documented there). May not be desirable at all, but obviously with ordinary strings we can do `int + "str containing int"`, and if the UString object contains an int then `int + (string)ustring` will still achieve that. My thought was to make the remaining operators that don't make sense on an object implicitly cast to string before the operation takes place. Feel free to "do not want". :) -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php