On 23 January 2014 16:50, Pascal Chevrel <[email protected]> wrote:
> Maybe it's a stupid idea, you'll tell me :) Wouldn't it be a good thing to
> issue a notice when people use the alias instead of the correct function
> name?
>
This is essentially a description of the visible effects of
deprecation, and would cause a *lot* of issues in userland if this was
done straight away, since there are literally millions of applications
using functions that are candidates to be aliased in every page load -
remember that everything, including error messages, has an overhead.
As Yasuo stated in the first message in the thread:
> We may keep alias 10 or 20 years or even forever.
We can't consider deprecating (or even "soft deprecating" in the
manual, as happened with ext/mysql) any of the old names for a long,
long time, as many of them are far to deeply burned into the PHP
ecosystem.
Thanks, Chris