Re: [RFC] Deprecate dynamic properties
| From: | Lynn | Date: | Wed, 25 Aug 2021 10:14:57 +0000 |
| Subject: | Re: [RFC] Deprecate dynamic properties | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-115801@lists.php.net to get a copy of this message | ||
On Wed, Aug 25, 2021 at 12:03 PM Nikita Popov <nikita.ppv@gmail.com> wrote:
> This RFC takes the more direct route of deprecating this functionality
> entirely. I expect that this will have relatively little impact on modern
> code (e.g. in Symfony I could fix the vast majority of deprecation warnings
> with a three-line diff), but may have a big impact on legacy code that
> doesn't declare properties at all.
>
The project I maintain is massive and it's full of code that implicitly
defines properties. As long as the deprecations are clear, I'm 100% behind
this proposal as it will finally give me leverage to fix the code base at
some point in time.