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

/PHP_5_3/Zend/
H A Dzend.h436 union _zend_function *destructor; member in struct:_zend_class_entry
H A Dzend_objects.c52 zend_function *destructor = object ? object->ce->destructor : NULL; local
54 if (destructor) {
59 if (destructor->op_array.fn_flags & (ZEND_ACC_PRIVATE|ZEND_ACC_PROTECTED)) {
60 if (destructor->op_array.fn_flags & ZEND_ACC_PRIVATE) {
76 if (!zend_check_protected(destructor->common.scope, EG(scope))) {
101 * local variable destruction results in a destructor being called.
112 zend_call_method_with_0_params(&obj, object->ce, &destructor, ZEND_DESTRUCTOR_FUNC_NAME, NULL);

Completed in 4 milliseconds