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

/PHP_TRUNK/Zend/
H A Dzend.h129 union _zend_function *destructor; member in struct:_zend_class_entry
H A Dzend_objects.c68 zend_function *destructor = object ? object->ce->destructor : NULL; local
70 if (destructor) {
74 if (destructor->op_array.fn_flags & (ZEND_ACC_PRIVATE|ZEND_ACC_PROTECTED)) {
75 if (destructor->op_array.fn_flags & ZEND_ACC_PRIVATE) {
91 if (!zend_check_protected(zend_get_function_root_class(destructor), EG(scope))) {
109 * local variable destruction results in a destructor being called.
120 zend_call_method_with_0_params(&obj, object->ce, &destructor, ZEND_DESTRUCTOR_FUNC_NAME, NULL);

Completed in 3 milliseconds