cvs: php4 /ext/standard reg.c
| From: | Egon Schmid | Date: | Fri, 04 Aug 2000 11:50:16 +0000 |
| Subject: | cvs: php4 /ext/standard reg.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-1029@lists.php.net to get a copy of this message | ||
eschmid Fri Aug 4 04:50:16 2000 EDT
Modified files:
/php4/ext/standard reg.c
Log:
Wrong parameters found by Martin Buchholz @ six.de.
Index: php4/ext/standard/reg.c
diff -u php4/ext/standard/reg.c:1.37 php4/ext/standard/reg.c:1.38
--- php4/ext/standard/reg.c:1.37 Fri Jun 23 04:48:02 2000
+++ php4/ext/standard/reg.c Fri Aug 4 04:50:16 2000
@@ -17,7 +17,7 @@
| Jaakko Hyvätti <jaakko@hyvatti.iki.fi> |
+----------------------------------------------------------------------+
*/
-/* $Id: reg.c,v 1.37 2000/06/23 11:48:02 thies Exp $ */
+/* $Id: reg.c,v 1.38 2000/08/04 11:50:16 eschmid Exp $ */
#include <stdio.h>
#include "php.h"
@@ -264,7 +264,7 @@
regfree(&re);
}
-/* {{{ proto int ereg(string pattern, string string [, array registers])
+/* {{{ proto int ereg(string pattern, string replacement, string string)
Regular expression match */
PHP_FUNCTION(ereg)
{
@@ -272,7 +272,7 @@
}
/* }}} */
-/* {{{ proto int eregi(string pattern, string string [, array registers])
+/* {{{ proto int eregi(string pattern, string replacement, string string)
Case-insensitive regular expression match */
PHP_FUNCTION(eregi)
{