diff options
Diffstat (limited to 'Zend/zend.c')
-rw-r--r-- | Zend/zend.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Zend/zend.c b/Zend/zend.c index 8b58d4b8b0..e764abb999 100644 --- a/Zend/zend.c +++ b/Zend/zend.c @@ -410,9 +410,7 @@ ZEND_API void zend_print_zval_r(zval *expr, int indent TSRMLS_DC) /* {{{ */ ZEND_API void zend_print_zval_r_ex(zend_write_func_t write_func, zval *expr, int indent TSRMLS_DC) /* {{{ */ { - if (Z_ISREF_P(expr)) { - expr = Z_REFVAL_P(expr); - } + ZVAL_DEREF(expr); switch (Z_TYPE_P(expr)) { case IS_ARRAY: ZEND_PUTS_EX("Array\n"); |