Skip to content

Commit b905510

Browse files
committed
Remove zend_array_release from zend_variables.h
1 parent 45873cc commit b905510

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

Zend/zend_variables.h

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,6 @@ static zend_always_inline void i_zval_ptr_dtor(zval *zval_ptr)
4848
}
4949
}
5050

51-
static zend_always_inline void zend_array_release(zend_array *array)
52-
{
53-
if (!(GC_FLAGS(array) & IS_ARRAY_IMMUTABLE)) {
54-
if (GC_DELREF(array) == 0) {
55-
zend_array_destroy(array);
56-
}
57-
}
58-
}
59-
6051
static zend_always_inline void zval_copy_ctor(zval *zvalue)
6152
{
6253
if (Z_TYPE_P(zvalue) == IS_ARRAY) {

0 commit comments

Comments
 (0)