Re: Deprecation ideas for PHP 8
| From: | Kalle Sommer Nielsen | Date: | Fri, 01 Feb 2019 10:38:05 +0000 |
| Subject: | Re: Deprecation ideas for PHP 8 | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-103973@lists.php.net to get a copy of this message | ||
Den fre. 1. feb. 2019 kl. 12.34 skrev Benjamin Morel <benjamin.morel@gmail.com>:
> You have a point here. Couldn't we add a "deprecated log" feature, that
> would log each deprecated function only once? At least we could leave an
> app running for some time, and get a curated list of deprecated features
> from the deprecated log.
I would oppose such a feature as it would make deprecations even more
redundant than disabling them. While they are annoying, they are also
a helpful message to inform our users that this functionality will not
be around, blindly ignoring it and further more giving it its own log
file that doesn't grow nearly as much seems like a bad way to solve
this.
--
regards,
Kalle Sommer Nielsen
kalle@php.net