<?php class Foo { function bar() { var_dump($this); } } class Bar { function test() { Foo::bar(); } } $bar = new Bar(); $bar->test();
You have javascript disabled. You will not be able to edit any code.