From: Rasmus Lerdorf Date: Thu, 26 Aug 1999 14:13:14 +0000 (+0000) Subject: Missing return types in prototypes X-Git-Tag: PRE_DELAYED_ARRAY_FETCH_PATCH~298 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8ccce347a3cc2a1daa5c267b5ae862cbc8bd2d03;p=php Missing return types in prototypes --- 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) {