- 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.
This commit is contained in:
Andi Gutmans 2001-12-27 14:35:09 +00:00
parent b3fd2faac0
commit 73b159e056
6 changed files with 67 additions and 9 deletions

View file

@ -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; \