PATH:
opt
/
alt
/
tests
/
alt-php71-pecl-weakref_0.3.3-1.el8
/
tests
--TEST-- Weakref: Destroying the weakref within the std dtor of the object --FILE-- <?php class A { private $wr = null; public function __construct() { $this->wr = new WeakRef($this); } public function __destruct() { unset($this->wr); } } $a = new A; unset($a); ?> ==END== --EXPECTF-- ==END==
[-] weakmap_004.phpt
[edit]
[-] weakref_011.phpt
[edit]
[-] weakref_002.phpt
[edit]
[-] weakref_012.phpt
[edit]
[-] weakref_007.phpt
[edit]
[-] weakref_008.phpt
[edit]
[-] weakref_004.phpt
[edit]
[-] weakref_009.phpt
[edit]
[-] weakmap_005.phpt
[edit]
[-] weakmap_001.phpt
[edit]
[-] weakref_010.phpt
[edit]
[-] weakref_013.phpt
[edit]
[-] weakref_001.phpt
[edit]
[-] weakref_003.phpt
[edit]
[-] weakref_005.phpt
[edit]
[-] weakmap_002.phpt
[edit]
[-] weakmap_003.phpt
[edit]
[-] weakref_006.phpt
[edit]
[+]
..
[-] weakref_014.phpt
[edit]