cvs: php4 /ext/standard reg.c
| From: | Egon Schmid | Date: | Fri, 04 Aug 2000 11:57:21 +0000 |
| Subject: | cvs: php4 /ext/standard reg.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-1030@lists.php.net to get a copy of this message | ||
eschmid Fri Aug 4 04:57:21 2000 EDT
Modified files:
/php4/ext/standard reg.c
Log:
Sorry only the *_replaceparameters are wrong.
Index: php4/ext/standard/reg.c
diff -u php4/ext/standard/reg.c:1.38 php4/ext/standard/reg.c:1.39
--- php4/ext/standard/reg.c:1.38 Fri Aug 4 04:50:16 2000
+++ php4/ext/standard/reg.c Fri Aug 4 04:57:21 2000
@@ -17,7 +17,7 @@
| Jaakko Hyvätti <jaakko@hyvatti.iki.fi> |
+----------------------------------------------------------------------+
*/
-/* $Id: reg.c,v 1.38 2000/08/04 11:50:16 eschmid Exp $ */
+/* $Id: reg.c,v 1.39 2000/08/04 11:57:21 eschmid Exp $ */
#include <stdio.h>
#include "php.h"
@@ -264,7 +264,7 @@
regfree(&re);
}
-/* {{{ proto int ereg(string pattern, string replacement, string string)
+/* {{{ proto int ereg(string pattern, string string [, array registers])
Regular expression match */
PHP_FUNCTION(ereg)
{
@@ -272,7 +272,7 @@
}
/* }}} */
-/* {{{ proto int eregi(string pattern, string replacement, string string)
+/* {{{ proto int eregi(string pattern, string string [, array registers])
Case-insensitive regular expression match */
PHP_FUNCTION(eregi)
{
@@ -476,7 +476,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 */
PHP_FUNCTION(ereg_replace)
{
@@ -484,7 +484,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 */
PHP_FUNCTION(eregi_replace)
{