diff options
author | Hartmut Holzgraefe <hholzgra@php.net> | 2001-12-06 21:39:01 +0000 |
---|---|---|
committer | Hartmut Holzgraefe <hholzgra@php.net> | 2001-12-06 21:39:01 +0000 |
commit | 49cc65cdaedf55b0d798bf888b06e033da4c510f (patch) | |
tree | 5b2cd0bf644804221956c03ae70b739d215003f0 /ext | |
parent | 7a3c3e85ad1b47a260b4c52265543d7248211d75 (diff) | |
download | php-git-49cc65cdaedf55b0d798bf888b06e033da4c510f.tar.gz |
renamed rot13 to str_rot13()
Diffstat (limited to 'ext')
-rw-r--r-- | ext/standard/basic_functions.c | 2 | ||||
-rw-r--r-- | ext/standard/basic_functions.h | 2 | ||||
-rw-r--r-- | 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; |