Re: Future stability of PHP?

From: 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:
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

« previous php.internals (#119924) next »