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 >> /php-7.1.11/ext/standard/tests/array/ |
files >> //php-7.1.11/ext/standard/tests/array/array_column_property_visibility.phpt |
--TEST-- array_column() respects property visibility --FILE-- <?php class Test { private $prop; public function __construct($value) { $this->prop = $value; } public function __isset($name) { return true; } public function __get($name) { return "__get($this->prop)"; } } $arr = [new Test("foobar")]; var_dump(array_column($arr, "prop")); ?> --EXPECT-- array(1) { [0]=> string(13) "__get(foobar)" }y~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`