From: Egon Schmid Date: Fri, 4 Aug 2000 11:50:16 +0000 (+0000) Subject: Wrong parameters found by Martin Buchholz @ six.de. X-Git-Tag: PRE_FILE_COMPILE_API_CHANGE~33 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=90b4600fe8bd7f3bd77b17710fed8a65866f12b8;p=php Wrong parameters found by Martin Buchholz @ six.de. --- diff --git a/ext/ereg/ereg.c b/ext/ereg/ereg.c index 069c2e9219..ebd73f7e25 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 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) { 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) {