]> granicus.if.org Git - php/commitdiff
Missing return types in prototypes
authorRasmus Lerdorf <rasmus@php.net>
Thu, 26 Aug 1999 14:13:14 +0000 (14:13 +0000)
committerRasmus Lerdorf <rasmus@php.net>
Thu, 26 Aug 1999 14:13:14 +0000 (14:13 +0000)
ext/pcre/php_pcre.c

index 79b34e8c5acebd2a6d535523193cfe6048b6a3f1..0591d6a3e071a4b0b7881f668c715f0de7d00efa 100644 (file)
@@ -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)
 {