<?php class A { public static function test($a) { return $a instanceof self; } } var_dump(A::test(new A())); var_dump(A::test(new stdClass));
You have javascript disabled. You will not be able to edit any code.