From 7edaae4ebf2e9bc322eec5504c2684df43c8c259 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Wed, 15 Nov 2006 17:53:39 +0000 Subject: [PATCH] typo --- Zend/zend_builtin_functions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Zend/zend_builtin_functions.c b/Zend/zend_builtin_functions.c index fd59b12bc21..060b3a06cdd 100644 --- a/Zend/zend_builtin_functions.c +++ b/Zend/zend_builtin_functions.c @@ -1755,7 +1755,7 @@ static zval *debug_backtrace_get_args(void ***curpos TSRMLS_DC) while (--arg_count >= 0) { arg = (zval **) p++; if (*arg) { - if ((*arg)->type != IS_OBJECT) { + if (Z_TYPE_PP(arg) != IS_OBJECT) { SEPARATE_ZVAL_TO_MAKE_IS_REF(arg); } (*arg)->refcount++;