| 
 | call_user_funcCall the callback given by the first parameter Description
   mixed call_user_func
    ( callable  $callback[, mixed$parameter[, mixed$...]] )
   Calls the  Parameters
 
 Return ValuesReturns the return value of the callback. Changelog
 
 Examples
 Example #2 call_user_func example 
<?phpThe above example will output: You wanted a mushroom haircut, no problem You wanted a shave haircut, no problem Example #3 call_user_func using namespace name 
<?phpThe above example will output: Hello world! Hello world! Example #4 Using a class method with call_user_func 
<?phpThe above example will output: Hello! Hello! Hello! Example #5 Using lambda function with call_user_func 
<?phpThe above example will output: [test] Notes
 See Also
 
 |