Re: Resurrecting the Function Renaming Thread

From: Date: Fri, 26 Jan 2001 23:11:15 +0000
Subject: Re: Resurrecting the Function Renaming Thread
References: 1 2  Groups: php.qa 
Request: Send a blank email to php-qa+get-2185@lists.php.net to get a copy of this message
Suggested Function Renaming Process =================================== Find bad function names.
I already walked through a number of extension and posted results here. I still dislike that not all array functions begin with array_ (eg. the older ones), perhaps we should create aliases here to and remove the old ones from the documentation or move them elsewhere?
Wait til the next *major* release (i.e. PHP 5) Remove the aliases from the documentation. Change the behavior of PHP_DEPRECATED_FALIAS so that a warning level error is thrown when an alias is used. Notify the users that old function names will be disabled in the next major release - highlight the upcoming change in the release notes for every version released.
sounds good
Also, providing scripts (or even a PHP function) that report old function names and/or update old names to new names (and alias/report conflicting user functions) should not be too challenging.
sounds even better Separating them (deprecated functions) into a "deprecated" section in the documentation is very important I think. andré -- · André Langhorst · t: +49 571 3201801 · · waldschrott@php.net · m: +49 173 9558736 · · PHP Quality Assurance · http://qa.php.net ·

« previous php.qa (#2185) next »