diff options
Diffstat (limited to 'ext/pcre/php_pcre.c')
-rw-r--r-- | ext/pcre/php_pcre.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/pcre/php_pcre.c b/ext/pcre/php_pcre.c index 79b34e8c5a..0591d6a3e0 100644 --- a/ext/pcre/php_pcre.c +++ b/ext/pcre/php_pcre.c @@ -497,7 +497,7 @@ static void _pcre_match(INTERNAL_FUNCTION_PARAMETERS, int global) /* }}} */ -/* {{{ proto preg_match(string pattern, string subject [, array subpatterns ]) +/* {{{ proto int preg_match(string pattern, string subject [, array subpatterns ]) Perform a Perl-style regular expression match */ PHP_FUNCTION(preg_match) { @@ -506,7 +506,7 @@ PHP_FUNCTION(preg_match) /* }}} */ -/* {{{ proto preg_match_all(string pattern, string subject, array subpatterns [, int order ]) +/* {{{ proto int preg_match_all(string pattern, string subject, array subpatterns [, int order ]) Perform a Perl-style global regular expression match */ PHP_FUNCTION(preg_match_all) { @@ -827,7 +827,7 @@ static char *_php_replace_in_subject(zval *regex, zval *replace, zval *subject) } -/* {{{ proto preg_replace(string|array regex, string|array replace, string|array subject) +/* {{{ proto string preg_replace(string|array regex, string|array replace, string|array subject) Perform Perl-style regular expression replacement */ PHP_FUNCTION(preg_replace) { |