felipe Sat, 06 Nov 2010 18:35:38 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=305133
Log: - Coding standards Changed paths: U php/php-src/branches/PHP_5_3/ext/pcre/php_pcre.c U php/php-src/trunk/ext/pcre/php_pcre.c Modified: php/php-src/branches/PHP_5_3/ext/pcre/php_pcre.c =================================================================== --- php/php-src/branches/PHP_5_3/ext/pcre/php_pcre.c 2010-11-06 18:32:10 UTC (rev 305132) +++ php/php-src/branches/PHP_5_3/ext/pcre/php_pcre.c 2010-11-06 18:35:38 UTC (rev 305133) @@ -755,10 +755,9 @@ 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; } } Modified: php/php-src/trunk/ext/pcre/php_pcre.c =================================================================== --- php/php-src/trunk/ext/pcre/php_pcre.c 2010-11-06 18:32:10 UTC (rev 305132) +++ php/php-src/trunk/ext/pcre/php_pcre.c 2010-11-06 18:35:38 UTC (rev 305133) @@ -755,10 +755,9 @@ 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; } }
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php