call_user_func_array invoke function or

call_user_func_array invoke function or method – call_user_func_array is a useful function to call a callback with an array of parameters. The callback could be user defined function or a method in a class. Here is the summary of its application. Syntax mixed call_user_func_array ( callable $callback , array $param_arr ) call_user_func_array call function function foobar($arg, $arg2) { echo __FUNCTION__, ” got […] http://ow.ly/2ULspG

Advertisements
%d bloggers like this: