Re: [VOTE] Deprecate dynamic properties
| From: | Claude Pache | Date: | Sat, 13 Nov 2021 17:28:58 +0000 |
| Subject: | Re: [VOTE] Deprecate dynamic properties | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-116344@lists.php.net to get a copy of this message | ||
> Le 12 nov. 2021 à 17:24, Ben Ramsey <ramsey@php.net> a écrit :
>
> I like this change, but the deprecation in 8.2 seems too disruptive. I’d
> rather promote our intent to deprecate this with a statement in the
> manual that says something like, “This feature will be deprecated in
> PHP 8.3 and removed in 9.0.” Meanwhile, 8.2 should include the
> AllowDynamicProperties attribute so folks can start preparing.
>
Kindly recalling that the intended meaning of deprecation warnings is duly documented in the manual?
I have read the manual when I designed my error handler many year ago; as a consequence, this
deprecation warning will not at all be disruptive for me.
I strongly doubt that a mere statement of intention in the manual is of much utility, given that
many people apparently don’t read the manual when they design their error handlers... We should
rather more heavily promote the true meaning of “deprecation”.
—Claude