Function __global->call_user_func
Definitions
sources_custom/phpstub.php
- Call a user function given by the first parameter.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $function | mixed | No | No | required parameter | N/A | N/A | Function callback |
| ...$params | mixed | No | Yes | required parameter | N/A | N/A | ...$params Parameters |
Returns
- Whatever the function returns
- Type: mixed
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Call a user function given by the first parameter.
*
* @param mixed $function Function callback
* @param mixed $params ...$params Parameters
* @return mixed Whatever the function returns
*/
function call_user_func($function, ...$params)
* Call a user function given by the first parameter.
*
* @param mixed $function Function callback
* @param mixed $params ...$params Parameters
* @return mixed Whatever the function returns
*/
function call_user_func($function, ...$params)

