com php-src: codes standard: Zend/zend_exceptions.c
| From: | Xinchen Hui | Date: | Tue, 14 Apr 2015 11:32:01 +0000 |
| Subject: | com php-src: codes standard: Zend/zend_exceptions.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-86216@lists.php.net to get a copy of this message | ||
Commit: 4b27569dc3c684bf1d936cf4373d6aab1affca84
Author: Xinchen Hui <laruence@php.net> Tue, 14 Apr 2015 19:32:01 +0800
Parents: 043f8ac51e8fea81ae4aa0751e16913496cb1286
Branches: PHP-5.5 PHP-5.6
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=4b27569dc3c684bf1d936cf4373d6aab1affca84
Log:
codes standard
Changed paths:
M Zend/zend_exceptions.c
Diff:
diff --git a/Zend/zend_exceptions.c b/Zend/zend_exceptions.c
index f163495..3e50422 100644
--- a/Zend/zend_exceptions.c
+++ b/Zend/zend_exceptions.c
@@ -591,7 +591,7 @@ ZEND_METHOD(exception, getTraceAsString)
str = &res;
trace = zend_read_property(default_exception_ce, getThis(), "trace",
sizeof("trace")-1, 1 TSRMLS_CC);
- if(Z_TYPE_P(trace) != IS_ARRAY) {
+ if (Z_TYPE_P(trace) != IS_ARRAY) {
RETURN_FALSE;
}
zend_hash_apply_with_arguments(Z_ARRVAL_P(trace) TSRMLS_CC,
(apply_func_args_t)_build_trace_string, 3, str, len, &num);