Hallo,
Warum ist es nicht möglich mittels eval erzeugte Funktionen, die Parameter dieser Funktionen an andere Funktionen weiterzugeben?
PHP-Code:
eval('
function ' . $functionName . '()
{
$args = implode(\', \', func_get_args());
echo $args;
// php, resource
return ' . $callFunction . '($args);
// var_dump() als $callFunction -> string(13) "php, resource"
}
');