summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/standard/basic_functions.c2
-rw-r--r--ext/standard/basic_functions.h2
-rw-r--r--ext/standard/string.c4
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;