Re: [RFC] Property write visibility
| From: | Dan Ackroyd | Date: | Tue, 30 Jun 2020 11:25:21 +0000 |
| Subject: | Re: [RFC] Property write visibility | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-110793@lists.php.net to get a copy of this message | ||
On Mon, 29 Jun 2020 at 10:42, André Rømcke <andre.romcke@gmail.com> wrote:
>
> I'd like to start discussion on a new RFC proposing a way to be able to
> (optionally) specify property
> write visibility, separate from read:
>
> https://wiki.php.net/rfc/property_write_visibility
>
From the RFC:
"Attempting to pass a property value outside of allowed writable scope
as a reference, results in an error."
This part could probably do with having some details for it.
Also, any implementation of that rule might need to be checked for
performance issues.
cheers
Dan
Ack