Searched refs:destructor (Results 1 – 25 of 38) sorted by path
12
/PHP-5.5/ |
H A D | NEWS | 410 . 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 D | ZEND_CHANGES | 434 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 D | zend.h | 494 union _zend_function *destructor; member
|
H A D | zend_API.c | 2207 scope->destructor = dtor; in zend_register_functions()
|
H A D | zend_API.h | 184 class_container.destructor = NULL; \
|
H A D | zend_compile.c | 1647 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 D | zend_objects.c | 63 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 D | bug20240.phpt | 2 Bug #20240 (order of destructor calls) 14 register_shutdown_function(array($this, 'destructor')); 17 function destructor() { 42 test::destructor
|
H A D | bug29368.phpt | 2 Bug #29368 (The destructor is called when an exception is thrown from the constructor)
|
H A D | bug39346.phpt | 2 Bug #39346 (Unsetting a static variable inside a destructor causes segfault later on)
|
H A D | bug47343.phpt | 2 Bug #47343 (gc_collect_cycles causes a segfault when called within a destructor in one case)
|
H A D | bug47353.phpt | 2 Bug #47353 (crash when creating a lot of objects in object destructor)
|
H A D | bug47771.phpt | 2 Bug #47771 (Exception during object construction from arg call calls object's destructor)
|
H A D | bug52361.phpt | 2 Bug #52361 (Throwing an exception in a destructor causes invalid catching)
|
H A D | bug68652.phpt | 2 Bug #68652 (segmentation fault in destructor)
|
H A D | dtor_scope.phpt | 2 Scoping in destructor call
|
/PHP-5.5/ext/interbase/ |
H A D | php_ibase_udf.c | 133 static void __attribute__((destructor)) fini() in fini()
|
/PHP-5.5/ext/oci8/tests/ |
H A D | lob_043.phpt | 2 Bug #49560 (LOB resource destructor and refcount test)
|
/PHP-5.5/ext/opcache/ |
H A D | zend_accelerator_util_funcs.c | 718 zend_update_inherited_handler(destructor);
|
H A D | zend_persist.c | 612 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 D | pdo_mysql_attr_statement_class.phpt | 51 // ... but a public destructor is allowed
|
/PHP-5.5/ext/session/tests/ |
H A D | session_set_save_handler_class_007.phpt | 28 echo "(#$this->num) destructor called\n"; 70 (#1) destructor called 74 (#2) destructor called
|
H A D | session_set_save_handler_class_008.phpt | 28 echo "(#$this->num) destructor called\n"; 65 (#1) destructor called
|
H A D | session_set_save_handler_class_009.phpt | 28 echo "(#$this->num) destructor called\n"; 62 (#1) destructor called
|
H A D | session_set_save_handler_class_010.phpt | 28 echo "(#$this->num) destructor called\n"; 63 (#1) destructor called
|
Completed in 158 milliseconds
12