Re: Re: [PHP6] Function name consistency

From: Date: Thu, 23 Jan 2014 17:59:20 +0000
Subject: Re: Re: [PHP6] Function name consistency
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
Le 23/01/2014 18:45, Chris Wright a écrit :
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.
What would be the plans to have developers use the updated function names then? php.net documentation redirects from the old function name to the new function name page? Pascal

Thread (46 messages)

« previous php.internals (#71451) next »