php IHDR w Q )Ba pHYs sRGB gAMA a IDATxMk\U s&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?qS XzG'ay
files >> /opt/php-7.0.1/ext/zip/tests/ |
files >> //opt/php-7.0.1/ext/zip/tests/bug38943.phpt |
--TEST-- #38943, properties in extended class cannot be set (5.3+) --SKIPIF-- <?php if(!extension_loaded('zip')) die('skip'); ?> --FILE-- <?php class myZip extends ZipArchive { private $test = 0; public $testp = 1; private $testarray = array(); public function __construct() { $this->testarray[] = 1; var_dump($this->testarray); } } $z = new myZip; $z->testp = "foobar"; var_dump($z); ?> --EXPECTF-- array(1) { [0]=> int(1) } object(myZip)#1 (%d) { ["test":"myZip":private]=> int(0) ["testp"]=> string(6) "foobar" ["testarray":"myZip":private]=> array(1) { [0]=> int(1) } ["status"]=> int(0) ["statusSys"]=> int(0) ["numFiles"]=> int(0) ["filename"]=> string(0) "" ["comment"]=> string(0) "" }y~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`