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

/PHP_TRUNK/Zend/
H A Dzend_objects.c67 zend_function *destructor = object ? object->ce->destructor : NULL; local
69 if (destructor) {
73 if (destructor->op_array.fn_flags & (ZEND_ACC_PRIVATE|ZEND_ACC_PROTECTED)) {
74 if (destructor->op_array.fn_flags & ZEND_ACC_PRIVATE) {
90 if (!zend_check_protected(zend_get_function_root_class(destructor), EG(scope))) {
108 * local variable destruction results in a destructor being called.
119 zend_call_method_with_0_params(&obj, object->ce, &destructor, ZEND_DESTRUCTOR_FUNC_NAME, NULL);
H A Dzend.h489 union _zend_function *destructor; member in struct:_zend_class_entry

Completed in 4 milliseconds