Home
last modified time | relevance | path

Searched refs:__destruct (Results 1 – 25 of 307) sorted by relevance

12345678910>>...13

/PHP-8.4/tests/classes/
H A Ddestructor_visibility_003.phpt7 private function __destruct() {
13 public function __destruct() {
20 unset($obj); // Derived::__destruct is being called not Base::__destruct
24 Derived::__destruct
H A Dctor_dtor.phpt10 function __destruct() {
19 function __destruct() {
35 early::__destruct
38 late::__destruct
H A Dctor_dtor_inheritance.phpt20 function __destruct() {
39 function __destruct() {
40 parent::__destruct();
62 base::__destruct
85 base::__destruct
91 derived::__destruct
H A Diterators_002.phpt40 function __destruct() {
53 function __destruct() {
84 c_iter::__destruct
95 c_iter::__destruct
106 c_iter::__destruct
109 c_iter::__destruct
110 c::__destruct
/PHP-8.4/Zend/tests/
H A Dexception_008.phpt2 Exception in __destruct while exception is pending
8 function __destruct() {
15 function __destruct() {
29 #0 %sexception_008.php(%d): TestFirst->__destruct()
34 #0 %sexception_008.php(%d): TestSecond->__destruct()
H A Dbug36759.phpt10 function __destruct() {
17 function __destruct() {
26 Foo::__destruct
27 Bar::__destruct
H A Dtemporary_cleaning_013.phpt9 function __destruct() { throw new Exception; }
15 function __destruct() { throw new Exception; }
22 function __destruct() { throw new Exception; }
29 function __destruct() { throw new Exception; }
39 function __destruct() { throw new Exception; }
49 function __destruct() { throw new Exception; }
61 function __destruct() { throw new Exception; }
74 function __destruct() { throw new Exception; }
82 function __destruct() { throw new Exception; }
90 function __destruct() { throw new Exception; }
[all …]
H A Dbug36006.phpt2 Bug #36006 (Problem with $this in __destruct())
8 public function __destruct() {
19 public function __destruct() {
21 parent::__destruct(); /* segfault here */
H A Derrmsg_033.phpt2 errmsg: __destruct() cannot be static
8 static function __destruct() {
15 Fatal error: Method test::__destruct() cannot be static in %s on line %d
H A Derrmsg_019.phpt2 errmsg: __destruct() cannot take arguments
7 function __destruct($var) {
14 Fatal error: Method test::__destruct() cannot take arguments in %s on line %d
H A Dlsb_010.phpt14 public function __destruct() {
15 echo static::$className . "::__destruct\n";
35 Foo::__destruct
36 FooChild::__destruct
H A Dstatic_variables_destructor.phpt7 public function __destruct() {
8 throw new Exception('__destruct() called');
35 __destruct() called
H A Dexception_026.phpt7 function __destruct() {
19 #0 %s(11): A->__destruct()
24 #0 %s(11): A->__destruct()
H A Dbug51822.phpt2 Bug #51822 (Segfault with strange __destruct() for static class variables)
7 public function __destruct()
16 public function __destruct()
H A Dbug29368_3.phpt9 function __destruct() {
18 function __destruct() {
32 Foo::__destruct
/PHP-8.4/Zend/tests/fibers/
H A Ddestructors_011.phpt11 public function __destruct() {
21 public function __destruct() {
33 public function __destruct() {
64 SimpleCycle::__destruct
66 CreateGarbageInDtor::__destruct
67 CollectCyclesInFiberInDtor::__destruct
69 SimpleCycle::__destruct
/PHP-8.4/ext/zend_test/tests/
H A Dobserver_shutdown_02.phpt2 Observer: Function calls from a __destruct during shutdown are observable
14 public function __destruct()
41 <!-- init MyClass::__destruct() -->
42 <MyClass::__destruct>
51 </MyClass::__destruct:NULL>
H A Dgh16514.phpt13 public function __destruct() {
44 <!-- init Foo::__destruct() -->
46 Foo::__destruct()
53 Foo::__destruct()
57 #0 %s(%d): Foo->__destruct()
/PHP-8.4/Zend/tests/lazy_objects/
H A Dreset_as_lazy_may_call_nested_destructors.phpt7 public function __destruct() {
16 public function __destruct() {
44 Bar::__destruct
45 Foo::__destruct
49 Bar::__destruct
H A Dreset_as_lazy_calls_destructor.phpt13 public function __destruct() {
50 string(13) "C::__destruct"
54 string(13) "C::__destruct"
57 string(13) "C::__destruct"
61 string(13) "C::__destruct"
H A Dreset_as_lazy_resets_dynamic_props.phpt7 public function __destruct() {
49 string(18) "Canary::__destruct"
63 string(18) "Canary::__destruct"
64 string(18) "Canary::__destruct"
82 string(18) "Canary::__destruct"
/PHP-8.4/Zend/tests/traits/
H A Dmethods_003.phpt2 Testing __construct and __destruct with Trait
10 public function __destruct() {
24 string(10) "__destruct"
/PHP-8.4/ext/pdo/tests/
H A Dpdo_023.phpt29 function __destruct()
40 function __destruct()
97 PDOStatementX::__destruct()
100 PDOStatementX::__destruct()
103 PDOStatementX::__destruct()
120 PDOStatementX::__destruct()
121 PDODatabaseX::__destruct()
/PHP-8.4/Zend/tests/try/
H A Dcatch_novar_2.phpt6 public function __destruct() {
22 Fatal error: Uncaught RuntimeException: ThrowsOnDestruct::__destruct in %s:%d
24 #0 %s(%d): ThrowsOnDestruct->__destruct()
/PHP-8.4/Zend/tests/generators/
H A Dgh9750-008.phpt11 function __destruct() {
17 function __destruct() {
39 C::__destruct

Completed in 21 milliseconds

12345678910>>...13