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