<?php class MyClass { public static function staticMethod() { return 'MyClass::staticMethod called'; } } $staticMethodName = 'staticMethod'; var_dump(MyClass::$staticMethodName());
You have javascript disabled. You will not be able to edit any code.