<?php class A { public static function foo() { var_dump(get_called_class()); } } class B extends A {} $r = new ReflectionClass('B'); $m = $r->getMethod('foo'); $m->invokeArgs(null, array());
You have javascript disabled. You will not be able to edit any code.