<?php class Foo { public static function bar() { self::baz(); } public static function baz($method = __METHOD__) { var_dump($method); } } $foo = new Foo(); $foo->bar(); $foo->baz();
You have javascript disabled. You will not be able to edit any code.