Home
last modified time | relevance | path

Searched refs:destructor (Results 1 – 25 of 67) sorted by relevance

123

/PHP-8.1/Zend/tests/
H A Dbug20240.phpt2 Bug #20240 (order of destructor calls)
12 register_shutdown_function(array($this, 'destructor'));
15 function destructor() {
40 test::destructor
H A Dbug29368_1.phpt2 Bug #29368.1 (The destructor is called when an exception is thrown from the constructor).
17 echo "Inside destructor\n";
H A Dbug72854.phpt2 Bug #72854: PHP Crashes on duplicate destructor call
H A Dbind_static_exception.phpt2 BIND_STATIC may destroy a variable with a throwing destructor
H A Ddtor_scope.phpt2 Scoping in destructor call
H A Dbug47353.phpt2 Bug #47353 (crash when creating a lot of objects in object destructor)
H A Dbug71818.phpt2 Bug #71818 (Memory leak when array altered in destructor)
H A Dbug29368_2.phpt2 Bug #29368.2 (The destructor is called when an exception is thrown from the constructor).
H A Dbug29368.phpt2 Bug #29368 (The destructor is called when an exception is thrown from the constructor)
H A Dbug47771.phpt2 Bug #47771 (Exception during object construction from arg call calls object's destructor)
/PHP-8.1/ext/opcache/tests/jit/
H A Dcount_001.phpt15 throw new RuntimeException("In destructor");
64 Caught In destructor
65 Caught In destructor
66 Caught In destructor
67 Caught In destructor
68 Caught In destructor
/PHP-8.1/ext/spl/tests/
H A Dbug81992b.phpt12 echo "In destructor\n";
47 In destructor
54 In destructor
61 In destructor
/PHP-8.1/Zend/
H A Dzend_objects.c96 zend_function *destructor = object->ce->destructor; in zend_objects_destroy_object() local
98 if (destructor) { in zend_objects_destroy_object()
102 if (destructor->op_array.fn_flags & (ZEND_ACC_PRIVATE|ZEND_ACC_PROTECTED)) { in zend_objects_destroy_object()
103 if (destructor->op_array.fn_flags & ZEND_ACC_PRIVATE) { in zend_objects_destroy_object()
130 if (!zend_check_protected(zend_get_function_root_class(destructor), scope)) { in zend_objects_destroy_object()
170 zend_call_known_instance_method_with_0_params(destructor, object, NULL); in zend_objects_destroy_object()
/PHP-8.1/ext/session/tests/
H A Dsession_set_save_handler_class_007.phpt24 echo "(#$this->num) destructor called\n";
67 (#1) destructor called
71 (#2) destructor called
H A Dsession_set_save_handler_class_009.phpt24 echo "(#$this->num) destructor called\n";
58 (#1) destructor called
H A Dsession_set_save_handler_class_008.phpt24 echo "(#$this->num) destructor called\n";
61 (#1) destructor called
H A Dsession_set_save_handler_class_010.phpt24 echo "(#$this->num) destructor called\n";
59 (#1) destructor called
H A Dsession_set_save_handler_class_011.phpt25 echo "(#$this->num) destructor called\n";
60 (#1) destructor called
/PHP-8.1/Zend/tests/enum/
H A Dno-destruct.phpt2 Enum disallows destructor
/PHP-8.1/tests/classes/
H A Dctor_dtor_inheritance.phpt2 ZE2 A derived class can use the inherited constructor/destructor
8 // - base classes know about derived properties in constructor/destructor
H A Ddestructor_inheritance.phpt2 ZE2 The inherited destructor is called
H A Ddestructor_visibility_002.phpt2 ZE2 Ensuring destructor visibility
H A Ddestructor_visibility_003.phpt2 ZE2 Ensuring destructor visibility
H A Ddestructor_visibility_001.phpt2 ZE2 Ensuring destructor visibility
/PHP-8.1/Zend/tests/fibers/
H A Dsuspend-in-force-close-fiber-catching-exception.phpt2 Suspend in force-closed fiber, catching exception thrown from destructor

Completed in 21 milliseconds

123