summaryrefslogtreecommitdiff
path: root/ext/standard/reg.c
diff options
context:
space:
mode:
authorEgon Schmid <eschmid@php.net>2000-08-04 11:50:16 +0000
committerEgon Schmid <eschmid@php.net>2000-08-04 11:50:16 +0000
commit90b4600fe8bd7f3bd77b17710fed8a65866f12b8 (patch)
tree6fee06896638f43d1d8e9655afd4391040cc228d /ext/standard/reg.c
parent920f6fd1fc005895f07c29569efbfa73c321229a (diff)
downloadphp-git-90b4600fe8bd7f3bd77b17710fed8a65866f12b8.tar.gz
Wrong parameters found by Martin Buchholz @ six.de.
Diffstat (limited to 'ext/standard/reg.c')
-rw-r--r--ext/standard/reg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/reg.c b/ext/standard/reg.c
index 069c2e9219..ebd73f7e25 100644
--- a/ext/standard/reg.c
+++ b/ext/standard/reg.c
@@ -264,7 +264,7 @@ static void php_ereg(INTERNAL_FUNCTION_PARAMETERS, int icase)
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 @@ PHP_FUNCTION(ereg)
}
/* }}} */
-/* {{{ 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)
{