|
ReflectionFunction::invokeArgsInvokes function args Description
public mixed ReflectionFunction::invokeArgs
( array
$args
)Invokes the function and pass its arguments as array. Parameters
Return ValuesReturns the result of the invoked function Examples
Example #1 ReflectionFunction::invokeArgs example
<?php The above example will output: Dr. Phil
Example #2 ReflectionFunction::invokeArgs with references example
<?php The above example will output: array(2) { [0]=> bool(false) [1]=> int(0) } Notes
See Also
|