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/reflection/tests/ |
files >> //opt/php-7.0.1/ext/reflection/tests/bug36434.phpt |
--TEST-- Reflection Bug #36434 (Properties from parent class fail to indetify their true origin) --FILE-- <?php class ancester { public $ancester = 0; function __construct() { return $this->ancester; } } class foo extends ancester { public $bar = "1"; function __construct() { return $this->bar; } } $r = new ReflectionClass('foo'); foreach ($r->GetProperties() as $p) { echo $p->getName(). " ". $p->getDeclaringClass()->getName()."\n"; } ?> --EXPECT-- bar foo ancester ancestery~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`