Re: Future stability of PHP?
| From: | Tim Düsterhus | Date: | Tue, 11 Apr 2023 14:20:02 +0000 |
| Subject: | Re: Future stability of PHP? | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-119924@lists.php.net to get a copy of this message | ||
Hi
On 4/11/23 16:18, Robert Landers wrote:
As per the corresponding RFC at https://wiki.php.net/rfc/deprecate_dynamic_properties#proposal:You can addI don't think that will work in PHP 9?#[AllowDynamicProperties]to classes where you want to allow dynamic properties.
Classes marked with #[AllowDynamicProperties] as well as their children can continue using dynamic properties without deprecation or removal.Best regards Tim Düsterhus