From 4b4d634cb956de1efc13c8ed9b243fe1a85f783b Mon Sep 17 00:00:00 2001 From: "Yiduo (David) Wang" Date: Sun, 7 Oct 2007 05:22:07 +0000 Subject: MFH: Added macros for managing zval refcounts and is_ref statuses --- Zend/zend_operators.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Zend/zend_operators.h') diff --git a/Zend/zend_operators.h b/Zend/zend_operators.h index 342ecc4d01..c20c57088c 100644 --- a/Zend/zend_operators.h +++ b/Zend/zend_operators.h @@ -367,7 +367,7 @@ END_EXTERN_C() #define convert_scalar_to_number_ex(ppzv) \ if (Z_TYPE_PP(ppzv)!=IS_LONG && Z_TYPE_PP(ppzv)!=IS_DOUBLE) { \ - if (!(*ppzv)->is_ref) { \ + if (!Z_ISREF_PP(ppzv)) { \ SEPARATE_ZVAL(ppzv); \ } \ convert_scalar_to_number(*ppzv TSRMLS_CC); \ -- cgit v1.2.1