diff options
| author | Egon Schmid <eschmid@php.net> | 2000-08-04 11:57:21 +0000 |
|---|---|---|
| committer | Egon Schmid <eschmid@php.net> | 2000-08-04 11:57:21 +0000 |
| commit | 48ef7e52a2aa0e688b72421ca0042bec92920385 (patch) | |
| tree | c6673502a2b45649809084532dc896cea3eb3473 /ext | |
| parent | 90b4600fe8bd7f3bd77b17710fed8a65866f12b8 (diff) | |
| download | php-git-48ef7e52a2aa0e688b72421ca0042bec92920385.tar.gz | |
Sorry only the *_replaceparameters are wrong.
Diffstat (limited to 'ext')
| -rw-r--r-- | ext/ereg/ereg.c | 8 | ||||
| -rw-r--r-- | ext/standard/reg.c | 8 |
2 files changed, 8 insertions, 8 deletions
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) { |
