On Tue, Apr 11, 2023, 17:18 Robert Landers <landers.rob...@gmail.com> wrote:
> > You can add `#[AllowDynamicProperties]` to classes where you want to > allow > > dynamic properties. > > I don't think that will work in PHP 9? > > -- > PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://www.php.net/unsub.php Please double-check the source before sending questions like that to the list, since that information is easilly accessible: https://wiki.php.net/rfc/deprecate_dynamic_properties Nothing of the sort is happening. The attribute is specifically to mark classes that can use dynamic properties going forward.