PHP function call_user_func_array()

Availability in versions: PHP 4.0.4

Call a user function given with an array of parameters

Parameters

Parameter Data type Default value Note
$function callback not The function to be called.
$param_arr array not The parameters to be passed to the function, as an indexed array.

Return values

mixed

the function result, or false on error.

Other resources

Official documentation for call-user-func-array

Newsletter

Nejlepsi tipy a triky o PHP do Vaseho e-mailu. Clanky a novinky nejen ze sveta PHP a programovani.