diff options
| author | Marcus Boerger <helly@php.net> | 2003-05-12 18:54:05 +0000 |
|---|---|---|
| committer | Marcus Boerger <helly@php.net> | 2003-05-12 18:54:05 +0000 |
| commit | fe47a383e33303f17d9a87976806e80d63de6e1c (patch) | |
| tree | 58ae6524dad625625a4fa43d14840da3d8a87c16 /Zend/zend_execute_API.c | |
| parent | 0fc5d743648a8b5b0ee5e512d52ebbb60e139a1a (diff) | |
| download | php-git-fe47a383e33303f17d9a87976806e80d63de6e1c.tar.gz | |
One function call is enough
Diffstat (limited to 'Zend/zend_execute_API.c')
| -rw-r--r-- | Zend/zend_execute_API.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |
