**一.ReflectionFunction::export弃用** 1.代码实例 ~~~ function Foo(string $name,int $age){ return "$name,$age"; } $ref=ReflectionFunction::export('Foo',true); echo "<pre>"; print_r($ref); echo "</pre>"; ~~~ 2.低版本 ~~~ Function [ function Foo ] { @@ C:\AppServ\www\test\index.php 3 - 5 - Parameters [2] { Parameter #0 [ string $name ] Parameter #1 [ int $age ] } } ~~~ 3.新版本 ~~~ Fatal error: Uncaught Error: Call to undefined method ReflectionFunction::export() ~~~