From: Egon Schmid Date: Fri, 4 Aug 2000 11:57:21 +0000 (+0000) Subject: Sorry only the *_replaceparameters are wrong. X-Git-Tag: PRE_FILE_COMPILE_API_CHANGE~32 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=48ef7e52a2aa0e688b72421ca0042bec92920385;p=php Sorry only the *_replaceparameters are wrong. --- diff --git a/ext/ereg/ereg.c b/ext/ereg/ereg.c index ebd73f7e25..be9c3476b0 100644 --- a/ext/ereg/ereg.c +++ b/ext/ereg/ereg.c @@ -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) { diff --git a/ext/standard/reg.c b/ext/standard/reg.c index ebd73f7e25..be9c3476b0 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 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) {