Hello internals, I've slightly updated the RFC: https://wiki.php.net/rfc/saner-array-sum-product
I've added an FFI example which overloads addition but cannot be cast to a numeric type. And changed the behaviours around objects. An object needs to implement a numeric cast for it to be added/multiplied, this solves the issue around having the return value being cast to an object as this cannot happen anymore. Best regards, George P. Banyard