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/tests/classes/ |
files >> //php-7.1.11/tests/classes/static_this.phpt |
--TEST-- ZE2 $this can be an argument to a static function --FILE-- <?php class TestClass { function __construct() { self::Test1(); $this->Test1(); } static function Test1() { var_dump($this); } static function Test2($this) { var_dump($this); } } $obj = new TestClass; TestClass::Test2(new stdClass); ?> ===DONE=== --EXPECTF-- Fatal error: Cannot use $this as parameter in %sstatic_this.php on line 16y~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`