Re: Re: [PHP6] Function name consistency

From: Date: Thu, 23 Jan 2014 17:45:34 +0000
Subject: Re: Re: [PHP6] Function name consistency
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
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


Thread (46 messages)

« previous php.internals (#71449) next »