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 >> /var/www/html/img_galeri/2r1asasas/root/opt/php-7.0.1/ext/reflection/tests/ |
| files >> //var/www/html/img_galeri/2r1asasas/root/opt/php-7.0.1/ext/reflection/tests/bug53915.phpt |
--TEST--
Bug #53915 - ReflectionClass::getConstant(s) emits fatal error on selfreferencing constants
--FILE--
<?php
Class Foo
{
const A = 1;
const B = self::A;
}
$rc = new ReflectionClass('Foo');
print_r($rc->getConstants());
Class Foo2
{
const A = 1;
const B = self::A;
}
$rc = new ReflectionClass('Foo2');
print_r($rc->getConstant('B'));
--EXPECT--
Array
(
[A] => 1
[B] => 1
)
1
y~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`