Home
last modified time | relevance | path

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

12345678910

/PHP-8.2/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.2/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_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 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 Dlsb_010.phpt14 public function __destruct() {
15 echo static::$className . "::__destruct\n";
35 Foo::__destruct
36 FooChild::__destruct
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
H A Dbug54268.phpt16 public function __destruct()
18 DestructableObject::__destruct();
24 public function __destruct()
H A Dex_func_null_during_property_write.phpt7 function __destruct() {
18 #0 %s(%d): a->__destruct()
23 #0 %s(%d): a->__destruct()
H A Dgc_030.phpt10 public function __destruct() {
25 #0 [internal function]: foo->__destruct()
31 #0 [internal function]: foo->__destruct()
/PHP-8.2/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.2/Zend/tests/traits/
H A Dmethods_003.phpt2 Testing __construct and __destruct with Trait
10 public function __destruct() {
24 string(10) "__destruct"
/PHP-8.2/ext/pdo/tests/
H A Dpdo_023.phpt29 function __destruct()
40 function __destruct()
91 PDOStatementX::__destruct()
94 PDOStatementX::__destruct()
97 PDOStatementX::__destruct()
114 PDOStatementX::__destruct()
115 PDODatabaseX::__destruct()
/PHP-8.2/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.2/Zend/tests/generators/
H A Dgh9750-008.phpt11 function __destruct() {
17 function __destruct() {
39 C::__destruct
/PHP-8.2/ext/soap/tests/bugs/
H A Dbug42151.phpt2 Bug #42151 (__destruct functions not called after catching a SoapFault exception)
11 function __destruct(){
16 function __destruct(){
/PHP-8.2/Zend/tests/enum/
H A Dno-destruct.phpt7 public function __destruct() {}
12 Fatal error: Enum Foo cannot include magic method __destruct in %s on line %d

Completed in 18 milliseconds

12345678910