From 49cc65cdaedf55b0d798bf888b06e033da4c510f Mon Sep 17 00:00:00 2001 From: Hartmut Holzgraefe Date: Thu, 6 Dec 2001 21:39:01 +0000 Subject: [PATCH] renamed rot13 to str_rot13() --- ext/standard/basic_functions.c | 2 +- ext/standard/basic_functions.h | 2 +- ext/standard/string.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c index c7ffbd7a21..4aea9df620 100644 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -803,7 +803,7 @@ function_entry basic_functions[] = { PHP_FALIAS(ftok , warn_not_available, NULL) #endif - PHP_FE(rot13, NULL) + PHP_FE(str_rot13, NULL) {NULL, NULL, NULL} }; diff --git a/ext/standard/basic_functions.h b/ext/standard/basic_functions.h index a5d41d1389..92b9c35637 100644 --- a/ext/standard/basic_functions.h +++ b/ext/standard/basic_functions.h @@ -116,7 +116,7 @@ PHP_FUNCTION(move_uploaded_file); /* From the INI parser */ PHP_FUNCTION(parse_ini_file); -PHP_FUNCTION(rot13); +PHP_FUNCTION(str_rot13); #ifdef PHP_WIN32 typedef unsigned int php_stat_len; diff --git a/ext/standard/string.c b/ext/standard/string.c index 56fff3bcec..1318271530 100644 --- a/ext/standard/string.c +++ b/ext/standard/string.c @@ -3863,9 +3863,9 @@ PHP_FUNCTION(sscanf) } /* }}} */ -/* {{{ proto string rot13(string str) +/* {{{ proto string str_rot13(string str) Perform the rot13 transform on a string */ -PHP_FUNCTION(rot13) +PHP_FUNCTION(str_rot13) { char *str; int str_len; -- 2.50.1