[php-src] Issue #7786: PHP 8.2: unexpected deprecation for dynamic property set via magic method
| From: | nikic | Date: | Fri, 17 Dec 2021 17:33:00 +0000 |
| Subject: | [php-src] Issue #7786: PHP 8.2: unexpected deprecation for dynamic property set via magic method | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-238465@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/7786
Comment Author: nikic
When an inaccessible property is accessed recursively in a magic __get/__set accessor, it will
bypass magic __get/__set and access the property directly instead. This may either be an access to a
declared property or to a dynamic property. If that ends up creating a dynamic property, a
deprecation warning will be thrown.