1--TEST-- 2ReflectionParameter::export() 3--CREDITS-- 4Stefan Koopmanschap <stefan@stefankoopmanschap.nl> 5--FILE-- 6<?php 7function ReflectionParameterTest($test, $test2 = null) { 8 echo $test; 9} 10$reflect = new ReflectionFunction('ReflectionParameterTest'); 11foreach($reflect->getParameters() as $key => $value) { 12 echo ReflectionParameter::export('ReflectionParameterTest', $key); 13} 14?> 15==DONE== 16--EXPECT-- 17Parameter #0 [ <required> $test ] 18Parameter #1 [ <optional> $test2 = NULL ] 19==DONE== 20