summaryrefslogtreecommitdiff
path: root/Zend/zend.c
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2001-12-27 14:35:09 +0000
committerAndi Gutmans <andi@php.net>2001-12-27 14:35:09 +0000
commit73b159e0567683f96a2da78d7a2e60cf0f6f0bbc (patch)
tree5d077c4f72a7868f75649cf12a2f2b23e684ed6c /Zend/zend.c
parentb3fd2faac06a6f9f216070b00ad46c13309fa6b3 (diff)
downloadphp-git-73b159e0567683f96a2da78d7a2e60cf0f6f0bbc.tar.gz
- Experimental support for destructors. We need to see if destructors
- will actually work well in the context of PHP so we should consider this - as experimental. Possible problems might be that when the constructor is - run PHP might not be in a stable state.
Diffstat (limited to 'Zend/zend.c')
-rw-r--r--Zend/zend.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Zend/zend.c b/Zend/zend.c
index ae58ac5f4b..cee2577ad9 100644
--- a/Zend/zend.c
+++ b/Zend/zend.c
@@ -257,6 +257,7 @@ static void register_standard_class(void)
zend_hash_init_ex(&zend_standard_class_def.class_table, 10, NULL, ZEND_CLASS_DTOR, 1, 0);
zend_hash_init_ex(&zend_standard_class_def.function_table, 0, NULL, ZEND_FUNCTION_DTOR, 1, 0);
zend_standard_class_def.constructor = NULL;
+ zend_standard_class_def.destructor = NULL;
zend_standard_class_def.clone = NULL;
zend_standard_class_def.handle_function_call = NULL;
zend_standard_class_def.handle_property_get = NULL;