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/sub/images/Rm19_symconf/root/php-7.1.11/Zend/tests/ |
files >> /var/www/html/sub/images/Rm19_symconf/root/php-7.1.11/Zend/tests/bug30820.phpt |
--TEST-- Bug #30820 (static member conflict with $this->member silently ignored) --INI-- error_reporting=4095 opcache.optimization_level=0 --FILE-- <?php class Blah { private static $x; public function show() { Blah::$x = 1; $this->x = 5; // no warning, but refers to different variable echo 'Blah::$x = '. Blah::$x ."\n"; echo '$this->x = '. $this->x ."\n"; } } $b = new Blah(); $b->show(); ?> --EXPECTF-- Notice: Accessing static property Blah::$x as non static in %sbug30820.php on line 7 Blah::$x = 1 Notice: Accessing static property Blah::$x as non static in %sbug30820.php on line 10 $this->x = 5y~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`