ReflectionFunction::invokeArgsInvokes function args
&reftitle.description;
publicmixedReflectionFunction::invokeArgsarrayargs
Invokes args.
&warn.undocumented.func;
&reftitle.parameters;
args
The passed arguments to the function as an array, much like
call_user_func_array works.
&reftitle.returnvalues;
Returns the result of the invoked function
&reftitle.examples;
ReflectionFunction::invokeArgs example
invokeArgs(array('Dr', 'Phil'));
?>
]]>
&example.outputs;
ReflectionFunction::invokeArgs with references example
invokeArgs(array($conditions, &$false_conditions));
var_dump($false_conditions);
?>
]]>
&example.outputs;
bool(false)
[1]=>
int(0)
}
]]>
&reftitle.notes;
If the function has arguments that need to be references, then they must be
references in the passed argument list.
&reftitle.seealso;
ReflectionFunction::invokeReflectionFunctionAbstract::getNumberOfParameters__invoke