diff options
| author | Andi Gutmans <andi@php.net> | 2002-09-15 07:45:26 +0000 |
|---|---|---|
| committer | Andi Gutmans <andi@php.net> | 2002-09-15 07:45:26 +0000 |
| commit | 43139dc7553956d57619f2429230d1ac6ad72fd4 (patch) | |
| tree | 082e26b0449ba3e974eeadd4ce28c69be94cf450 /Zend/zend_builtin_functions.c | |
| parent | fcc0ce7eec7288c3dd875d45f6d957b5b4b0b288 (diff) | |
| download | php-git-43139dc7553956d57619f2429230d1ac6ad72fd4.tar.gz | |
- WS - Always use "if (" and not "if("
Diffstat (limited to 'Zend/zend_builtin_functions.c')
| -rw-r--r-- | Zend/zend_builtin_functions.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Zend/zend_builtin_functions.c b/Zend/zend_builtin_functions.c index 5a49e761f4..22afc71625 100644 --- a/Zend/zend_builtin_functions.c +++ b/Zend/zend_builtin_functions.c @@ -555,7 +555,7 @@ ZEND_FUNCTION(get_parent_class) } /* then try getting the class entry if successfull, will fall through to standard ce handling */ - if(!Z_OBJ_HT_PP(arg)->get_class_entry || !(ce = zend_get_class_entry(*arg))) { + if (!Z_OBJ_HT_PP(arg)->get_class_entry || !(ce = zend_get_class_entry(*arg))) { RETURN_FALSE; } } else if (Z_TYPE_PP(arg) == IS_STRING) { @@ -592,7 +592,7 @@ static void is_a_impl(INTERNAL_FUNCTION_PARAMETERS, zend_bool only_subclass) } /* TBI!! new object handlers */ - if(!HAS_CLASS_ENTRY(**obj)) { + if (!HAS_CLASS_ENTRY(**obj)) { RETURN_FALSE; } @@ -682,7 +682,7 @@ ZEND_FUNCTION(get_object_vars) if ((*obj)->type != IS_OBJECT) { RETURN_FALSE; } - if(Z_OBJ_HT_PP(obj)->get_properties == NULL) { + if (Z_OBJ_HT_PP(obj)->get_properties == NULL) { RETURN_FALSE; } @@ -710,7 +710,7 @@ ZEND_FUNCTION(get_class_methods) if (Z_TYPE_PP(class) == IS_OBJECT) { /* TBI!! new object handlers */ - if(!HAS_CLASS_ENTRY(**class)) { + if (!HAS_CLASS_ENTRY(**class)) { RETURN_FALSE; } ce = Z_OBJCE_PP(class); @@ -756,7 +756,7 @@ ZEND_FUNCTION(method_exists) } /* TBI!! new object handlers */ - if(!HAS_CLASS_ENTRY(**klass)) { + if (!HAS_CLASS_ENTRY(**klass)) { RETURN_FALSE; } |
