> 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

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to