Hi
On 4/11/23 16:18, Robert Landers wrote:
You can add `#[AllowDynamicProperties]` to classes where you want to allow
dynamic properties.
I don't think that will work in PHP 9?
As per the corresponding RFC at
https://wiki.php.net/rfc/deprecate_dynamic_properties#proposal:
Classes marked with #[AllowDynamicProperties] as well as their children can
continue using dynamic properties without deprecation or removal.
Best regards
Tim Düsterhus
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: https://www.php.net/unsub.php