Re: Operator overloading for userspace objects

From: Date: Fri, 31 Jan 2020 18:35:04 +0000
Subject: Re: Operator overloading for userspace objects
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-108338@lists.php.net to get a copy of this message
> 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: [application/pgp-signature] Message signed with OpenPGP signature.asc
« previous php.internals (#108338) next »