From: Marcus Boerger Date: Mon, 12 May 2003 18:54:05 +0000 (+0000) Subject: One function call is enough X-Git-Tag: RELEASE_0_9b~21 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fe47a383e33303f17d9a87976806e80d63de6e1c;p=php One function call is enough --- diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c index 3eb953fd09..a5082282ff 100644 --- a/Zend/zend_execute_API.c +++ b/Zend/zend_execute_API.c @@ -576,9 +576,9 @@ int call_user_function_ex(HashTable *function_table, zval **object_pp, zval *fun return FAILURE; } - function_table = &Z_OBJCE_PP(object_pp)->function_table; - EX(object) = *object_pp; calling_scope = Z_OBJCE_PP(object_pp); + function_table = &calling_scope->function_table; + EX(object) = *object_pp; } else if (Z_TYPE_PP(object_pp) == IS_STRING) { zend_class_entry **ce; char *lc_class;