diff options
| author | Andi Gutmans <andi@php.net> | 2001-12-27 14:35:09 +0000 |
|---|---|---|
| committer | Andi Gutmans <andi@php.net> | 2001-12-27 14:35:09 +0000 |
| commit | 73b159e0567683f96a2da78d7a2e60cf0f6f0bbc (patch) | |
| tree | 5d077c4f72a7868f75649cf12a2f2b23e684ed6c /Zend/zend.c | |
| parent | b3fd2faac06a6f9f216070b00ad46c13309fa6b3 (diff) | |
| download | php-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.c | 1 |
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; |
