<?php class A { public function test() { var_dump($this instanceof self); } } class B { public function foo() { a::test(); } } $b = new B; $b->foo();
You have javascript disabled. You will not be able to edit any code.