cvs: php3 /functions reg.c
| From: | Egon Schmid | Date: | Fri, 04 Aug 2000 11:49:16 +0000 |
| Subject: | cvs: php3 /functions reg.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-1028@lists.php.net to get a copy of this message | ||
eschmid Fri Aug 4 04:49:16 2000 EDT
Modified files:
/php3/functions reg.c
Log:
Wrong parameters found by Martin Buchholz @ six.de.
Index: php3/functions/reg.c
diff -u php3/functions/reg.c:1.106 php3/functions/reg.c:1.107
--- php3/functions/reg.c:1.106 Fri Dec 31 20:31:16 1999
+++ php3/functions/reg.c Fri Aug 4 04:49:16 2000
@@ -28,7 +28,7 @@
| Jaakko Hyvätti <jaakko@hyvatti.iki.fi> |
+----------------------------------------------------------------------+
*/
-/* $Id: reg.c,v 1.106 2000/01/01 04:31:16 sas Exp $ */
+/* $Id: reg.c,v 1.107 2000/08/04 11:49:16 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 string [, array registers])
+/* {{{ proto int ereg(string pattern, string replacement, string string)
Regular expression match */
void php3_ereg(INTERNAL_FUNCTION_PARAMETERS)
{
@@ -260,7 +260,7 @@
}
/* }}} */
-/* {{{ proto int eregi(string pattern, string string [, array registers])
+/* {{{ proto int eregi(string pattern, string replacement, string string)
Case-insensitive regular expression match */
void php3_eregi(INTERNAL_FUNCTION_PARAMETERS)
{