From: Daniel Beckham Date: Tue, 12 Sep 2000 19:00:21 +0000 (+0000) Subject: reversed chomp alias addition as per Andi Gutmans' request X-Git-Tag: php-4.0.3RC1~160 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b852f3941f4b3a61c84bd44aa5c741e2d18bb111;p=php reversed chomp alias addition as per Andi Gutmans' request --- diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c index 28094259da..d047a59c75 100644 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -185,7 +185,6 @@ function_entry basic_functions[] = { PHP_FE(parse_str, second_arg_force_ref) PHP_FE(str_pad, NULL) PHP_FALIAS(rtrim, chop, NULL) - PHP_FALIAS(chomp, chop, NULL) PHP_FALIAS(strchr, strstr, NULL) PHP_NAMED_FE(sprintf, PHP_FN(user_sprintf), NULL) PHP_NAMED_FE(printf, PHP_FN(user_printf), NULL) diff --git a/ext/standard/string.c b/ext/standard/string.c index 44b45eb7ba..76d2d1b97b 100644 --- a/ext/standard/string.c +++ b/ext/standard/string.c @@ -176,10 +176,6 @@ PHPAPI void php_trim(zval *str, zval * return_value, int mode) An alias for chop */ /* }}} */ -/* {{{ proto string chomp(string str) - An alias for chop */ -/* }}} */ - /* {{{ proto string chop(string str) Remove trailing whitespace */ PHP_FUNCTION(chop)