diff options
author | Jeroen van Wolffelaar <jeroen@php.net> | 2001-09-23 18:32:46 +0000 |
---|---|---|
committer | Jeroen van Wolffelaar <jeroen@php.net> | 2001-09-23 18:32:46 +0000 |
commit | f61dfce39c5865d0d6103aa85640da9f9a58bf39 (patch) | |
tree | 36954b5aa663700202e85e443544240a3cc00af8 /ext/standard/basic_functions.c | |
parent | db1fe4b060cf98d2e20217bcd966ed416486669d (diff) | |
download | php-git-f61dfce39c5865d0d6103aa85640da9f9a58bf39.tar.gz |
Make chop the alias and rtrim the main function, in order to get automagically
generated alias-listings correct.
Diffstat (limited to 'ext/standard/basic_functions.c')
-rw-r--r-- | ext/standard/basic_functions.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c index 8c6cdf8d0e..ef2fc7ca07 100644 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -333,7 +333,7 @@ function_entry basic_functions[] = { PHP_FE(strtr, NULL) PHP_FE(addslashes, NULL) PHP_FE(addcslashes, NULL) - PHP_FE(chop, NULL) + PHP_FE(rtrim, NULL) PHP_FE(str_replace, NULL) PHP_FE(str_repeat, NULL) PHP_FE(count_chars, NULL) @@ -359,7 +359,7 @@ function_entry basic_functions[] = { PHP_FE(ord, NULL) PHP_FE(parse_str, second_arg_force_ref) PHP_FE(str_pad, NULL) - PHP_FALIAS(rtrim, chop, NULL) + PHP_FALIAS(chop, rtrim, NULL) PHP_FALIAS(strchr, strstr, NULL) PHP_NAMED_FE(sprintf, PHP_FN(user_sprintf), NULL) PHP_NAMED_FE(printf, PHP_FN(user_printf), NULL) |