summaryrefslogtreecommitdiff
path: root/ext/pcre/php_pcre.c
diff options
context:
space:
mode:
authorRasmus Lerdorf <rasmus@php.net>1999-08-26 14:13:14 +0000
committerRasmus Lerdorf <rasmus@php.net>1999-08-26 14:13:14 +0000
commit8ccce347a3cc2a1daa5c267b5ae862cbc8bd2d03 (patch)
tree1022231beb3b6ce093a5ebd225b3c875f082a380 /ext/pcre/php_pcre.c
parente0166ebc068ee0438c2df70aff8583b45fcc5064 (diff)
downloadphp-git-8ccce347a3cc2a1daa5c267b5ae862cbc8bd2d03.tar.gz
Missing return types in prototypes
Diffstat (limited to 'ext/pcre/php_pcre.c')
-rw-r--r--ext/pcre/php_pcre.c6
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)
{