I would like to get the name (not the value) of a paramter. In the given case it should be $param.
function testfunc($param = 'i do not want this..', $array = array()) {
$args = func_get_args();
var_dump($args);
echo $param;
}
If I call the testfunc like this:
testfunc($testString,$testArray);
the result should be "$testString" ,"$testArray"
Is there a way in PHP?