]> granicus.if.org Git - php/commitdiff
Wrong parameters found by Martin Buchholz @ six.de.
authorEgon Schmid <eschmid@php.net>
Fri, 4 Aug 2000 11:50:16 +0000 (11:50 +0000)
committerEgon Schmid <eschmid@php.net>
Fri, 4 Aug 2000 11:50:16 +0000 (11:50 +0000)
ext/ereg/ereg.c
ext/standard/reg.c

index 069c2e9219e851ff32d0769c59769c8cf795c802..ebd73f7e252d4736f5a29aba0ba874bd6bf3784c 100644 (file)
@@ -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)
 {
index 069c2e9219e851ff32d0769c59769c8cf795c802..ebd73f7e252d4736f5a29aba0ba874bd6bf3784c 100644 (file)
@@ -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)
 {