]> granicus.if.org Git - php/commitdiff
Sorry only the *_replaceparameters are wrong.
authorEgon Schmid <eschmid@php.net>
Fri, 4 Aug 2000 11:57:21 +0000 (11:57 +0000)
committerEgon Schmid <eschmid@php.net>
Fri, 4 Aug 2000 11:57:21 +0000 (11:57 +0000)
ext/ereg/ereg.c
ext/standard/reg.c

index ebd73f7e252d4736f5a29aba0ba874bd6bf3784c..be9c3476b0a80ef003154eab0fd2d3baddc52d76 100644 (file)
@@ -264,7 +264,7 @@ static void php_ereg(INTERNAL_FUNCTION_PARAMETERS, int icase)
        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 @@ PHP_FUNCTION(ereg)
 }
 /* }}} */
 
-/* {{{ 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 @@ static void php_ereg_replace(INTERNAL_FUNCTION_PARAMETERS, int icase)
        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 @@ PHP_FUNCTION(ereg_replace)
 }
 /* }}} */
 
-/* {{{ 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)
 {
index ebd73f7e252d4736f5a29aba0ba874bd6bf3784c..be9c3476b0a80ef003154eab0fd2d3baddc52d76 100644 (file)
@@ -264,7 +264,7 @@ static void php_ereg(INTERNAL_FUNCTION_PARAMETERS, int icase)
        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 @@ PHP_FUNCTION(ereg)
 }
 /* }}} */
 
-/* {{{ 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 @@ static void php_ereg_replace(INTERNAL_FUNCTION_PARAMETERS, int icase)
        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 @@ PHP_FUNCTION(ereg_replace)
 }
 /* }}} */
 
-/* {{{ 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)
 {