diff options
Diffstat (limited to 'Zend/zend_operators.c')
-rw-r--r-- | Zend/zend_operators.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_operators.c b/Zend/zend_operators.c index b37e44f026..4f0936192d 100644 --- a/Zend/zend_operators.c +++ b/Zend/zend_operators.c @@ -1306,7 +1306,7 @@ ZEND_API int numeric_compare_function(zval *result, zval *op1, zval *op2 TSRMLS_ static inline void zend_free_obj_get_result(zval *op) { if (op) { - if (op->refcount == 0) { + if (Z_REFCOUNT_P(op) == 0) { zval_dtor(op); FREE_ZVAL(op); } else { |