Skip to content

Commit a32b9c7

Browse files
committed
% remove zval_call_destructor
1 parent 1aead24 commit a32b9c7

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

Zend/zend_execute_API.c

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -216,19 +216,6 @@ void init_executor(void) /* {{{ */
216216
}
217217
/* }}} */
218218

219-
static int zval_call_destructor(zval *zv) /* {{{ */
220-
{
221-
if (Z_TYPE_P(zv) == IS_INDIRECT) {
222-
zv = Z_INDIRECT_P(zv);
223-
}
224-
if (Z_TYPE_P(zv) == IS_OBJECT && Z_REFCOUNT_P(zv) == 1) {
225-
return ZEND_HASH_APPLY_REMOVE;
226-
} else {
227-
return ZEND_HASH_APPLY_KEEP;
228-
}
229-
}
230-
/* }}} */
231-
232219
static void zend_unclean_zval_ptr_dtor(zval *zv) /* {{{ */
233220
{
234221
if (Z_TYPE_P(zv) == IS_INDIRECT) {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy