summaryrefslogtreecommitdiff
path: root/Zend/zend_API.h
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_API.h
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_API.h')
-rw-r--r--Zend/zend_API.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Zend/zend_API.h b/Zend/zend_API.h
index 8b16c26586..5ae94c5e8f 100644
--- a/Zend/zend_API.h
+++ b/Zend/zend_API.h
@@ -88,6 +88,7 @@
class_container.name_length = sizeof(class_name)-1; \
class_container.builtin_functions = functions; \
class_container.constructor = NULL; \
+ class_container.destructor = NULL; \
class_container.clone = NULL; \
class_container.handle_function_call = NULL; \
class_container.handle_property_get = NULL; \
@@ -100,6 +101,7 @@
class_container.name_length = sizeof(class_name)-1; \
class_container.builtin_functions = functions; \
class_container.constructor = NULL; \
+ class_container.destructor = NULL; \
class_container.clone = NULL; \
class_container.handle_function_call = handle_fcall; \
class_container.handle_property_get = handle_propget; \