On 04-05-2021 12:57, Marco Pivetta wrote: > * instead of allowing by-ref `get` declaration, can we just kill it here, > before it breeds again? I don't think I need to explain the woes of by-ref > to internals, but removing the ability to declare new accessors by-ref > would be a huge win for the engine and the language long-term.
Would killing it imply that the following example from the RFC: $test->prop[] = 42; behaves differently depending on 'prop' being either a regular class property or a property with associated get accessor? Regards, Dik Takken -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://www.php.net/unsub.php