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/string.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/string.c')
| -rw-r--r-- | ext/standard/string.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/standard/string.c b/ext/standard/string.c index a85926674e..30302c05c1 100644 --- a/ext/standard/string.c +++ b/ext/standard/string.c @@ -540,13 +540,13 @@ PHPAPI void php_trim2(zval **str, zval **what, zval *return_value, int mode TSRM } /* }}} */ -/* {{{ proto string rtrim(string str [, string character_mask]) - An alias for chop */ +/* {{{ proto string chop(string str [, string character_mask]) + An alias for rtrim */ /* }}} */ -/* {{{ proto string chop(string str [, string character_mask]) +/* {{{ proto string rtrim(string str [, string character_mask]) Removes trailing whitespace */ -PHP_FUNCTION(chop) +PHP_FUNCTION(rtrim) { zval **str; zval **what = NULL; |
