cvs: php4 /ext/standard basic_functions.c basic_functions.h string.c
| From: | Hartmut Holzgraefe | Date: | Thu, 06 Dec 2001 21:39:05 +0000 |
| Subject: | cvs: php4 /ext/standard basic_functions.c basic_functions.h string.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-8487@lists.php.net to get a copy of this message | ||
hholzgra Thu Dec 6 16:39:05 2001 EDT
Modified files:
/php4/ext/standard basic_functions.c basic_functions.h string.c
Log:
renamed rot13 to str_rot13()
Index: php4/ext/standard/basic_functions.c
diff -u php4/ext/standard/basic_functions.c:1.425 php4/ext/standard/basic_functions.c:1.426
--- php4/ext/standard/basic_functions.c:1.425 Thu Dec 6 14:02:25 2001
+++ php4/ext/standard/basic_functions.c Thu Dec 6 16:38:57 2001
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: basic_functions.c,v 1.425 2001/12/06 19:02:25 hholzgra Exp $ */
+/* $Id: basic_functions.c,v 1.426 2001/12/06 21:38:57 hholzgra Exp $ */
#include "php.h"
#include "php_main.h"
@@ -803,7 +803,7 @@
PHP_FALIAS(ftok , warn_not_available, NULL)
#endif
- PHP_FE(rot13, NULL)
+ PHP_FE(str_rot13, NULL)
{NULL, NULL, NULL}
};
Index: php4/ext/standard/basic_functions.h
diff -u php4/ext/standard/basic_functions.h:1.97 php4/ext/standard/basic_functions.h:1.98
--- php4/ext/standard/basic_functions.h:1.97 Thu Dec 6 14:02:26 2001
+++ php4/ext/standard/basic_functions.h Thu Dec 6 16:39:01 2001
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: basic_functions.h,v 1.97 2001/12/06 19:02:26 hholzgra Exp $ */
+/* $Id: basic_functions.h,v 1.98 2001/12/06 21:39:01 hholzgra Exp $ */
#ifndef BASIC_FUNCTIONS_H
#define BASIC_FUNCTIONS_H
@@ -116,7 +116,7 @@
/* 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;
Index: php4/ext/standard/string.c
diff -u php4/ext/standard/string.c:1.255 php4/ext/standard/string.c:1.256
--- php4/ext/standard/string.c:1.255 Thu Dec 6 14:02:27 2001
+++ php4/ext/standard/string.c Thu Dec 6 16:39:01 2001
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: string.c,v 1.255 2001/12/06 19:02:27 hholzgra Exp $ */
+/* $Id: string.c,v 1.256 2001/12/06 21:39:01 hholzgra Exp $ */
/* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */
@@ -3863,9 +3863,9 @@
}
/* }}} */
-/* {{{ 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;