summaryrefslogtreecommitdiff
path: root/Zend/zend_operators.h
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/zend_operators.h')
-rw-r--r--Zend/zend_operators.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/Zend/zend_operators.h b/Zend/zend_operators.h
index a6640075fd..052abf364c 100644
--- a/Zend/zend_operators.h
+++ b/Zend/zend_operators.h
@@ -430,9 +430,7 @@ END_EXTERN_C()
#define convert_scalar_to_number_ex(pzv) \
if (Z_TYPE_P(pzv)!=IS_LONG && Z_TYPE_P(pzv)!=IS_DOUBLE) { \
- if (!Z_ISREF_P(pzv)) { \
- SEPARATE_ZVAL(pzv); \
- } \
+ SEPARATE_ZVAL_IF_NOT_REF(pzv); \
convert_scalar_to_number(pzv TSRMLS_CC); \
}