Re: E_STRICT
| From: | Sara Golemon | Date: | Wed, 19 Nov 2003 01:05:37 +0000 |
| Subject: | Re: E_STRICT | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-5535@lists.php.net to get a copy of this message | ||
> On a related note, since a major PHP version is now being released,
perhaps it
> is the time to finally remove old deprecated functionality that in many
cases
> deprecated for years. I propose that we agree on a certain version as a
> minimum and remove all deprecated functionality that was marked as such
prior
> to that version.
>
When it comes to removing deprecated functions entirely, I'd favor a
./configure option (--enable-deprecated) which would define
PHP_USE_DEPRECATED. Then those functions could be "removed" with:
#ifdef PHP_USE_DEPRECATED
.
.
.
#endif
This way cruft is left out of a build by default, but can be easily put back
in by those who need it. Then with the next version (5.1? / 6.0?) do the
actual dirty work of taking them out for good. More gentle on the
scripters.
-Sara