> If we still want operator overloading and we want to force operator 
> overloading to require immutability, I believe that means we would need an 
> immutability RFC to be approved (and implemented?) before operator 
> overloading requiring immutability could be approved.  Something like this:


For reference, immutability has been proposed in the past, but I’m not sure 
where it landed. It looks like it fizzled out.

* https://wiki.php.net/rfc/immutability
* https://externals.io/message/94913
* https://externals.io/message/96919
* https://externals.io/message/97355
* https://externals.io/message/101890
* https://externals.io/message/81426

I agree with you that I think we need to accept an immutability RFC before 
operator overloading (requiring immutability) can be approved.

I also believe operator overloading should require immutability.

Cheers,
Ben

Attachment: signature.asc
Description: Message signed with OpenPGP

Reply via email to