@@ -199,7 +199,7 @@ static void ZEND_FASTCALL _convert_scalar_to_number(zval *op, zend_bool silent,
199
199
if (check && UNEXPECTED (EG (exception ))) {
200
200
return ;
201
201
}
202
- zval_dtor (op );
202
+ zval_ptr_dtor (op );
203
203
204
204
if (Z_TYPE (dst ) == IS_LONG || Z_TYPE (dst ) == IS_DOUBLE ) {
205
205
ZVAL_COPY_VALUE (op , & dst );
@@ -1305,7 +1305,7 @@ ZEND_API int ZEND_FASTCALL mod_function(zval *result, zval *op1, zval *op2) /* {
1305
1305
}
1306
1306
1307
1307
if (op1 == result ) {
1308
- zval_dtor (result );
1308
+ zval_ptr_dtor (result );
1309
1309
}
1310
1310
1311
1311
if (op2_lval == -1 ) {
@@ -1505,7 +1505,7 @@ ZEND_API int ZEND_FASTCALL bitwise_or_function(zval *result, zval *op1, zval *op
1505
1505
}
1506
1506
1507
1507
if (op1 == result ) {
1508
- zval_dtor (result );
1508
+ zval_ptr_dtor (result );
1509
1509
}
1510
1510
ZVAL_LONG (result , op1_lval | op2_lval );
1511
1511
return SUCCESS ;
@@ -1583,7 +1583,7 @@ ZEND_API int ZEND_FASTCALL bitwise_and_function(zval *result, zval *op1, zval *o
1583
1583
}
1584
1584
1585
1585
if (op1 == result ) {
1586
- zval_dtor (result );
1586
+ zval_ptr_dtor (result );
1587
1587
}
1588
1588
ZVAL_LONG (result , op1_lval & op2_lval );
1589
1589
return SUCCESS ;
@@ -1661,7 +1661,7 @@ ZEND_API int ZEND_FASTCALL bitwise_xor_function(zval *result, zval *op1, zval *o
1661
1661
}
1662
1662
1663
1663
if (op1 == result ) {
1664
- zval_dtor (result );
1664
+ zval_ptr_dtor (result );
1665
1665
}
1666
1666
ZVAL_LONG (result , op1_lval ^ op2_lval );
1667
1667
return SUCCESS ;
@@ -1678,7 +1678,7 @@ ZEND_API int ZEND_FASTCALL shift_left_function(zval *result, zval *op1, zval *op
1678
1678
if (UNEXPECTED ((zend_ulong )op2_lval >= SIZEOF_ZEND_LONG * 8 )) {
1679
1679
if (EXPECTED (op2_lval > 0 )) {
1680
1680
if (op1 == result ) {
1681
- zval_dtor (result );
1681
+ zval_ptr_dtor (result );
1682
1682
}
1683
1683
ZVAL_LONG (result , 0 );
1684
1684
return SUCCESS ;
@@ -1696,7 +1696,7 @@ ZEND_API int ZEND_FASTCALL shift_left_function(zval *result, zval *op1, zval *op
1696
1696
}
1697
1697
1698
1698
if (op1 == result ) {
1699
- zval_dtor (result );
1699
+ zval_ptr_dtor (result );
1700
1700
}
1701
1701
1702
1702
ZVAL_LONG (result , op1_lval << op2_lval );
@@ -1714,7 +1714,7 @@ ZEND_API int ZEND_FASTCALL shift_right_function(zval *result, zval *op1, zval *o
1714
1714
if (UNEXPECTED ((zend_ulong )op2_lval >= SIZEOF_ZEND_LONG * 8 )) {
1715
1715
if (EXPECTED (op2_lval > 0 )) {
1716
1716
if (op1 == result ) {
1717
- zval_dtor (result );
1717
+ zval_ptr_dtor (result );
1718
1718
}
1719
1719
ZVAL_LONG (result , (op1_lval < 0 ) ? -1 : 0 );
1720
1720
return SUCCESS ;
@@ -1732,7 +1732,7 @@ ZEND_API int ZEND_FASTCALL shift_right_function(zval *result, zval *op1, zval *o
1732
1732
}
1733
1733
1734
1734
if (op1 == result ) {
1735
- zval_dtor (result );
1735
+ zval_ptr_dtor (result );
1736
1736
}
1737
1737
1738
1738
ZVAL_LONG (result , op1_lval >> op2_lval );
@@ -1794,7 +1794,7 @@ ZEND_API int ZEND_FASTCALL concat_function(zval *result, zval *op1, zval *op2) /
1794
1794
if (UNEXPECTED (Z_STRLEN_P (op1 ) == 0 )) {
1795
1795
if (EXPECTED (result != op2 )) {
1796
1796
if (result == orig_op1 ) {
1797
- zval_dtor ( orig_op1 );
1797
+ i_zval_ptr_dtor ( result ZEND_FILE_LINE_CC );
1798
1798
}
1799
1799
ZVAL_COPY (result , op2 );
1800
1800
}
@@ -1825,7 +1825,7 @@ ZEND_API int ZEND_FASTCALL concat_function(zval *result, zval *op1, zval *op2) /
1825
1825
result_str = zend_string_alloc (result_len , 0 );
1826
1826
memcpy (ZSTR_VAL (result_str ), Z_STRVAL_P (op1 ), op1_len );
1827
1827
if (result == orig_op1 ) {
1828
- zval_dtor ( orig_op1 );
1828
+ i_zval_ptr_dtor ( result ZEND_FILE_LINE_CC );
1829
1829
}
1830
1830
}
1831
1831
0 commit comments