Home
last modified time | relevance | path

Searched refs:destructor (Results 1 – 25 of 38) sorted by last modified time

12

/PHP-5.5/tests/lang/
H A DforeachLoopIteratorAggregate.004.phpt2 Duplicate of zend test tests/classes/iterators_002.phpt without expected output from destructor
H A DforeachLoop.010.phpt16 // of running the 'destructor' on $container.
/PHP-5.5/tests/classes/
H A Dautoload_005.phpt2 ZE2 Autoload from destructor
H A Dautoload_006.phpt2 ZE2 Autoload from destructor
H A Dctor_dtor.phpt2 ZE2 The new constructor/destructor is called
H A Dctor_dtor_inheritance.phpt2 ZE2 A derived class can use the inherited constructor/destructor
10 // - base classes know about derived properties in constructor/destructor
H A Ddestructor_and_exceptions.phpt2 ZE2 catch exception thrown in destructor
H A Ddestructor_and_globals.phpt2 ZE2 accessing globals from destructor in shutdown
H A Ddestructor_inheritance.phpt2 ZE2 The inherited destructor is called
H A Ddestructor_visibility_001.phpt2 ZE2 Ensuring destructor visibility
H A Ddestructor_visibility_002.phpt2 ZE2 Ensuring destructor visibility
H A Ddestructor_visibility_003.phpt2 ZE2 Ensuring destructor visibility
/PHP-5.5/ext/session/tests/
H A Dsession_set_save_handler_class_007.phpt28 echo "(#$this->num) destructor called\n";
70 (#1) destructor called
74 (#2) destructor called
H A Dsession_set_save_handler_class_008.phpt28 echo "(#$this->num) destructor called\n";
65 (#1) destructor called
H A Dsession_set_save_handler_class_009.phpt28 echo "(#$this->num) destructor called\n";
62 (#1) destructor called
H A Dsession_set_save_handler_class_010.phpt28 echo "(#$this->num) destructor called\n";
63 (#1) destructor called
H A Dsession_set_save_handler_class_011.phpt29 echo "(#$this->num) destructor called\n";
64 (#1) destructor called
/PHP-5.5/ext/pdo_mysql/tests/
H A Dpdo_mysql_attr_statement_class.phpt51 // ... but a public destructor is allowed
/PHP-5.5/ext/opcache/
H A Dzend_accelerator_util_funcs.c718 zend_update_inherited_handler(destructor);
H A Dzend_persist.c612 if (ce->destructor) {
613 ce->destructor = zend_shared_alloc_get_xlat_entry(ce->destructor);
614 ce->destructor->op_array.refcount++;
/PHP-5.5/ext/oci8/tests/
H A Dlob_043.phpt2 Bug #49560 (LOB resource destructor and refcount test)
/PHP-5.5/ext/interbase/
H A Dphp_ibase_udf.c133 static void __attribute__((destructor)) fini() in fini()
/PHP-5.5/Zend/
H A Dzend_objects.c63 zend_function *destructor = object ? object->ce->destructor : NULL; in zend_objects_destroy_object() local
65 if (destructor) { in zend_objects_destroy_object()
70 if (destructor->op_array.fn_flags & (ZEND_ACC_PRIVATE|ZEND_ACC_PROTECTED)) { in zend_objects_destroy_object()
71 if (destructor->op_array.fn_flags & ZEND_ACC_PRIVATE) { in zend_objects_destroy_object()
87 if (!zend_check_protected(zend_get_function_root_class(destructor), EG(scope))) { in zend_objects_destroy_object()
123 zend_call_method_with_0_params(&obj, object->ce, &destructor, ZEND_DESTRUCTOR_FUNC_NAME, NULL); in zend_objects_destroy_object()
H A Dzend_compile.c1647 CG(active_class_entry)->destructor = (zend_function *) CG(active_op_array); in zend_do_begin_function_declaration()
3046 if (!ce->destructor) { in do_inherit_parent_constructor()
3047 ce->destructor = ce->parent->destructor; in do_inherit_parent_constructor()
3850 ce->destructor = fe; fe->common.fn_flags |= ZEND_ACC_DTOR; in zend_add_magic_methods()
5118 if (ce->destructor) { in zend_do_end_class_declaration()
5119 ce->destructor->common.fn_flags |= ZEND_ACC_DTOR; in zend_do_end_class_declaration()
5120 if (ce->destructor->common.fn_flags & ZEND_ACC_STATIC) { in zend_do_end_class_declaration()
5121 …zend_error(E_COMPILE_ERROR, "Destructor %s::%s() cannot be static", ce->name, ce->destructor->comm… in zend_do_end_class_declaration()
6855 ce->destructor = NULL; in zend_initialize_class_data()
H A Dzend_API.h184 class_container.destructor = NULL; \

Completed in 86 milliseconds

12