summaryrefslogtreecommitdiff
path: root/Zend/zend_variables.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>1999-07-09 17:24:47 +0000
committerZeev Suraski <zeev@php.net>1999-07-09 17:24:47 +0000
commit81d901b14dd87285977ba7947a0268adb6519089 (patch)
treea94bc7f17920fd62d2de5fccd984bfba388d5475 /Zend/zend_variables.c
parentdb1e0bc8201a1f6667094205dc14b3af248ddbd1 (diff)
downloadphp-git-81d901b14dd87285977ba7947a0268adb6519089.tar.gz
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
Diffstat (limited to 'Zend/zend_variables.c')
-rw-r--r--Zend/zend_variables.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_variables.c b/Zend/zend_variables.c
index a4365435d7..26ba3dbbaf 100644
--- a/Zend/zend_variables.c
+++ b/Zend/zend_variables.c
@@ -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;