call_user_func_array
PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8
call_user_func_array - Call a callback with an array of parameters
Example #1 call_user_func_array example
Result: foobar got one and two
foo::bar got three and four
Example #2 call_user_func_array using namespace name
Result: Hello Hannes!
Hello Philip!
Example #3 Passing values by reference
Result: function mega $a=55
global $bar=55
Example #4 Using lambda function
Result: int(8)