getModifiers()); print_r($s); $foo = new ReflectionMethod('Test', 'bar'); $s=Reflection::getModifierNames($foo->getModifiers()); print_r($s);
------解决方案--------------------
http://cn.php.net/manual/en/class.reflectionmethod.php
------解决方案--------------------
反射的典型应用
------解决方案--------------------
http://www.php.net/manual/en/reflectionmethod.construct.php
一看就是反射,翻了翻就找到了这个。声明:本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn核实处理。
已抢187137个
抢已抢67526个
抢已抢353817个
抢已抢668566个
抢已抢124015个
抢已抢26298个
抢