cvs: php3 /functions reg.c
| From: | Egon Schmid | Date: | Fri, 04 Aug 2000 12:01:39 +0000 |
| Subject: | cvs: php3 /functions reg.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-1031@lists.php.net to get a copy of this message | ||
eschmid Fri Aug 4 05:01:39 2000 EDT
Modified files:
/php3/functions reg.c
Log:
Sorry only the *_replace parameters are wrong.
Index: php3/functions/reg.c
diff -u php3/functions/reg.c:1.107 php3/functions/reg.c:1.108
--- php3/functions/reg.c:1.107 Fri Aug 4 04:49:16 2000
+++ php3/functions/reg.c Fri Aug 4 05:01:39 2000
@@ -28,7 +28,7 @@
| Jaakko Hyvätti <jaakko@hyvatti.iki.fi> |
+----------------------------------------------------------------------+
*/
-/* $Id: reg.c,v 1.107 2000/08/04 11:49:16 eschmid Exp $ */
+/* $Id: reg.c,v 1.108 2000/08/04 12:01:39 eschmid Exp $ */
#include <stdio.h>
#include "php.h"
#include "internal_functions.h"
@@ -252,7 +252,7 @@
_php3_regfree(&re);
}
-/* {{{ proto int ereg(string pattern, string replacement, string string)
+/* {{{ proto int ereg(string pattern, string string [, array registers])
Regular expression match */
void php3_ereg(INTERNAL_FUNCTION_PARAMETERS)
{
@@ -260,7 +260,7 @@
}
/* }}} */
-/* {{{ proto int eregi(string pattern, string replacement, string string)
+/* {{{ proto int eregi(string pattern, string string [, array registers])
Case-insensitive regular expression match */
void php3_eregi(INTERNAL_FUNCTION_PARAMETERS)
{
@@ -467,7 +467,7 @@
STR_FREE(pattern);
}
-/* {{{ proto string ereg_replace(string pattern, string string [, array registers])
+/* {{{ proto string ereg_replace(string pattern, string replacement, string string)
Replace regular expression */
void php3_eregreplace(INTERNAL_FUNCTION_PARAMETERS)
{
@@ -475,7 +475,7 @@
}
/* }}} */
-/* {{{ proto string eregi_replace(string pattern, string string [, array registers])
+/* {{{ proto string eregi_replace(string pattern, string replacement, string string)
Case insensitive replace regular expression */
void php3_eregireplace(INTERNAL_FUNCTION_PARAMETERS)
{