使用PHP的反射API可以 http://php.net/manual/zh/refl... <?php class Test { public function Func ($a, $b, $c) { } } $p = new ReflectionMethod('Test', 'Func'); var_dump($p->getParameters());
使用PHP的反射API可以
http://php.net/manual/zh/refl...