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/traits/ |
files >> //php-7.1.11/Zend/tests/traits/no_static_arg_binding.phpt |
--TEST-- Don't statically bind arguments for self:: calls in traits --FILE-- <?php trait T { public static function method($arg) { } public static function call() { $i = 0; self::method($i); var_dump($i); } } class C { use T; public static function method(&$arg) { $arg++; } } C::call(); ?> --EXPECT-- int(1)y~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`