diff options
author | Marcus Boerger <helly@php.net> | 2005-03-07 19:34:03 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2005-03-07 19:34:03 +0000 |
commit | 916806055c45d69aee85f778e409f8ade09d16ea (patch) | |
tree | 16729cc5384dddb60b408e0e582eb23e2081f6e6 /Zend/zend_builtin_functions.c | |
parent | 25203ef3bc0e12f358825c51ba66edc963e87be0 (diff) | |
download | php-git-916806055c45d69aee85f778e409f8ade09d16ea.tar.gz |
- MFH
Diffstat (limited to 'Zend/zend_builtin_functions.c')
-rw-r--r-- | Zend/zend_builtin_functions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_builtin_functions.c b/Zend/zend_builtin_functions.c index 4428828ac1..45df85006f 100644 --- a/Zend/zend_builtin_functions.c +++ b/Zend/zend_builtin_functions.c @@ -1737,7 +1737,7 @@ ZEND_API void zend_fetch_debug_backtrace(zval *return_value, int skip_last TSRML if (function_name) { add_assoc_string_ex(stack_frame, "function", sizeof("function"), function_name, 1); - if (ptr->object) { + if (ptr->object && Z_TYPE_P(ptr->object) == IS_OBJECT) { class_name = Z_OBJCE(*ptr->object)->name; call_type = "->"; } else if (ptr->function_state.function->common.scope) { |