Home
last modified time | relevance | path

Searched refs:destructor (Results 1 – 25 of 38) sorted by path

12

/PHP-5.5/
H A DNEWS410 . Fixed bug #68652 (segmentation fault in destructor). (Dmitry)
4333 . Fixed Bug #47143 (Throwing an exception in a destructor causes a fatal
4677 . Fixed bug #52361 (Throwing an exception in a destructor causes invalid
6134 object's destructor). (Dmitry)
6159 destructor in one case). (Dmitry)
6519 destructor). (Tony)
8386 - Fixed bug #38315 (Constructing in the destructor causes weird behavior).
9381 - Fixed bug #34450 (Segfault when calling mysqli_close() in destructor). (Tony)
9597 - Fixed bug #32686 (Require/include file in destructor causes segfault).
10116 - Changed destructor mechanism so that destructors are called prior to request
[all …]
/PHP-5.5/Zend/
H A DZEND_CHANGES434 The Zend Engine 2.0 introduces a destructor concept similar to
437 destructor, which is a class method name __destruct() that
459 implicitly by the engine. In order to run a parent destructor,
461 destructor body.
H A Dzend.h494 union _zend_function *destructor; member
H A Dzend_API.c2207 scope->destructor = dtor; in zend_register_functions()
H A Dzend_API.h184 class_container.destructor = NULL; \
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_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()
/PHP-5.5/Zend/tests/
H A Dbug20240.phpt2 Bug #20240 (order of destructor calls)
14 register_shutdown_function(array($this, 'destructor'));
17 function destructor() {
42 test::destructor
H A Dbug29368.phpt2 Bug #29368 (The destructor is called when an exception is thrown from the constructor)
H A Dbug39346.phpt2 Bug #39346 (Unsetting a static variable inside a destructor causes segfault later on)
H A Dbug47343.phpt2 Bug #47343 (gc_collect_cycles causes a segfault when called within a destructor in one case)
H A Dbug47353.phpt2 Bug #47353 (crash when creating a lot of objects in object destructor)
H A Dbug47771.phpt2 Bug #47771 (Exception during object construction from arg call calls object's destructor)
H A Dbug52361.phpt2 Bug #52361 (Throwing an exception in a destructor causes invalid catching)
H A Dbug68652.phpt2 Bug #68652 (segmentation fault in destructor)
H A Ddtor_scope.phpt2 Scoping in destructor call
/PHP-5.5/ext/interbase/
H A Dphp_ibase_udf.c133 static void __attribute__((destructor)) fini() in fini()
/PHP-5.5/ext/oci8/tests/
H A Dlob_043.phpt2 Bug #49560 (LOB resource destructor and refcount test)
/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/pdo_mysql/tests/
H A Dpdo_mysql_attr_statement_class.phpt51 // ... but a public destructor is allowed
/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

Completed in 158 milliseconds

12