Searched defs:destructor (Results 1 - 2 of 2) sorted by relevance

/PHP_5_4/Zend/
H A Dzend.h484 union _zend_function *destructor; member in struct:_zend_class_entry
H A Dzend_objects.c63 zend_function *destructor = object ? object->ce->destructor : NULL; local
65 if (destructor) {
70 if (destructor->op_array.fn_flags & (ZEND_ACC_PRIVATE|ZEND_ACC_PROTECTED)) {
71 if (destructor->op_array.fn_flags & ZEND_ACC_PRIVATE) {
87 if (!zend_check_protected(zend_get_function_root_class(destructor), EG(scope))) {
112 * local variable destruction results in a destructor being called.
123 zend_call_method_with_0_params(&obj, object->ce, &destructor, ZEND_DESTRUCTOR_FUNC_NAME, NULL);

Completed in 4 milliseconds