summaryrefslogtreecommitdiff
path: root/Zend/zend_API.c
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2003-06-30 20:22:35 +0000
committerAndi Gutmans <andi@php.net>2003-06-30 20:22:35 +0000
commit288dacca0c2107b0e6fdd9adf70adafd744fc3e8 (patch)
tree93f5389b202884c3f113221de5567b30b0b0d0eb /Zend/zend_API.c
parent5ee72bb4781c38c718b80ad572acc66a213933eb (diff)
downloadphp-git-288dacca0c2107b0e6fdd9adf70adafd744fc3e8.tar.gz
- ZE coding style requires if ( instead of if(
Diffstat (limited to 'Zend/zend_API.c')
-rw-r--r--Zend/zend_API.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_API.c b/Zend/zend_API.c
index 575fd2a502..70e7928b93 100644
--- a/Zend/zend_API.c
+++ b/Zend/zend_API.c
@@ -1505,9 +1505,9 @@ zend_bool zend_is_callable(zval *callable, zend_bool syntax_only, char **callabl
lcname = zend_str_tolower_dup(Z_STRVAL_PP(obj), Z_STRLEN_PP(obj));
- if(EG(active_op_array) && strcmp(lcname, "self") == 0) {
+ if (EG(active_op_array) && strcmp(lcname, "self") == 0) {
ce = EG(active_op_array)->scope;
- } else if(strcmp(lcname, "parent") == 0 && EG(active_op_array) && EG(active_op_array)->scope) {
+ } else if (strcmp(lcname, "parent") == 0 && EG(active_op_array) && EG(active_op_array)->scope) {
ce = EG(active_op_array)->scope->parent;
} else if (zend_lookup_class(lcname, Z_STRLEN_PP(obj), &pce TSRMLS_CC) == SUCCESS) {
ce = *pce;