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/Zend/tests/ |
files >> //opt/php-7.0.1/Zend/tests/bug55156.phpt |
--TEST-- Bug #55156 (ReflectionClass::getDocComment() returns comment even though the class has none) --INI-- opcache.save_comments=1 --FILE-- <?php /** test */ namespace foo { function test() { } $x = new \ReflectionFunction('foo\test'); var_dump($x->getDocComment()); /** test1 */ class bar { } /** test2 */ class foo extends namespace\bar { } $x = new \ReflectionClass('foo\bar'); var_dump($x->getDocComment()); $x = new \ReflectionClass('foo\foo'); var_dump($x->getDocComment()); } ?> --EXPECTF-- bool(false) string(12) "/** test1 */" string(12) "/** test2 */"y~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`