From 43139dc7553956d57619f2429230d1ac6ad72fd4 Mon Sep 17 00:00:00 2001 From: Andi Gutmans Date: Sun, 15 Sep 2002 07:45:26 +0000 Subject: - WS - Always use "if (" and not "if(" --- Zend/zend_builtin_functions.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Zend/zend_builtin_functions.c') 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; } -- cgit v1.2.1