mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Step 1 in nuking the garbage collector:
- Change the hash destructor to return int - Don't kill the bucket on hash_destroy if the destructor returns 0
This commit is contained in:
parent
db1e0bc820
commit
81d901b14d
15 changed files with 50 additions and 31 deletions
|
@ -47,7 +47,7 @@ ZEND_API inline void var_uninit(zval *var)
|
|||
}
|
||||
|
||||
|
||||
ZEND_API void zval_dtor(zval *zvalue)
|
||||
ZEND_API int zval_dtor(zval *zvalue)
|
||||
{
|
||||
if (zvalue->type==IS_LONG) {
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue