diff options
-rw-r--r-- | ext/pcre/php_pcre.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/pcre/php_pcre.c b/ext/pcre/php_pcre.c index 0978e8303a..b14e39e1b2 100644 --- a/ext/pcre/php_pcre.c +++ b/ext/pcre/php_pcre.c @@ -755,10 +755,9 @@ PHPAPI void php_pcre_match_impl(pcre_cache_entry *pce, char *subject, int subjec efree(subpat_names); /* Did we encounter an error? */ - if(PCRE_G(error_code) == PHP_PCRE_NO_ERROR) { + if (PCRE_G(error_code) == PHP_PCRE_NO_ERROR) { RETVAL_LONG(matched); - } - else { + } else { RETVAL_FALSE; } } |