From 5925071957f6894a4c0d4bc24e77958727852f2c Mon Sep 17 00:00:00 2001 From: Daniel Beckham Date: Tue, 12 Sep 2000 15:54:10 +0000 Subject: added chomp() alias for chop() for us Perl purists. --- ext/standard/basic_functions.c | 1 + 1 file changed, 1 insertion(+) (limited to 'ext/standard/basic_functions.c') diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c index d047a59c75..28094259da 100644 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -185,6 +185,7 @@ 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) -- cgit v1.2.1