From a9b6410151eeac9dfcec4bc6408b03badea22e32 Mon Sep 17 00:00:00 2001 From: Gabor Hojtsy Date: Mon, 24 May 2004 20:27:50 +0000 Subject: [PATCH] reworded the intro, so it human friendlier git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@159545 c90b9560-bf6c-de11-be94-00142212c4b1 --- appendices/aliases.xml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/appendices/aliases.xml b/appendices/aliases.xml index 7e2140595d..32a44230b5 100755 --- a/appendices/aliases.xml +++ b/appendices/aliases.xml @@ -1,18 +1,19 @@ - + List of Function Aliases - Here is the aliases list. All aliases are listed here. It is usually - a bad idea to use aliases, as they may be bound to obsolescence or + There are quite a few functions in PHP which you can call with more + than one name. In some cases there is no preferred name among the + multiple ones, is_int and + is_integer are equally good for example. + However there are functions which changed names because of an API + cleanup or some other reason and the old names are only kept as + aliases for backward compatibility. It is usually a bad idea to use + these kind of aliases, as they may be bound to obsolescence or renaming, which will lead to unportable script. This list is provided to help those who want to upgrade their old scripts to newer syntax. - - However, some functions simply have two names, and there is no real - preference. (For example, is_int and - is_integer are equally good) - This list is consistent with PHP 4.0.6. For an alias list that updates daily, have a look at &url.zend.aliaslist;.