<?php class Foo { public function bar() { $fn = static::methodName(...); if (is_callable($fn)) { $fn(); } } } (new Foo())->bar();
You have javascript disabled. You will not be able to edit any code.