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/Zend/tests/ |
files >> //php-7.1.11/Zend/tests/method_argument_binding.phpt |
--TEST-- Edge cases in compile-time method argument binding --FILE-- <?php class A { private function method($x) {} } class B extends A { public function test() { $x = 1; $this->method($x); var_dump($x); } } class C extends B { public function method(&$x) { ++$x; } } (new C)->test(); class D { private final function method(&$x) { ++$x; } } class E extends D { public function __call($name, $args) { } public function test() { $this->method($x); } } (new E)->test(); ?> --EXPECTF-- int(2) Notice: Undefined variable: x in %s on line %dy~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`