[php-src] Issue #7942: Readonly properties mutable when assigning reference to them
| From: | ondrejmirtes | Date: | Fri, 14 Jan 2022 11:37:54 +0000 |
| Subject: | [php-src] Issue #7942: Readonly properties mutable when assigning reference to them | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-239009@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/7942
Comment Author: ondrejmirtes
@cmb69 I’d consider it a bug because otherwise this sentence from the RFC isn’t really true:
> Reading a readonly property will always return the same value, no matter what code runs in
> between