1
0
mirror of https://github.com/php/php-src.git synced 2026-04-14 19:41:05 +02:00

reversed chomp alias addition as per Andi Gutmans' request

This commit is contained in:
Daniel Beckham
2000-09-12 19:00:21 +00:00
parent 75d73aaffb
commit b852f3941f
2 changed files with 0 additions and 5 deletions

View File

@@ -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)

View File

@@ -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)