PHP funkce call_user_func()
Dostupnost ve verzích: PHP 4.0
Call a user function given by the first parameter
Parametry
| Parametr | Datový typ | Výchozí hodnota | Poznámka |
|---|---|---|---|
$function |
callback |
není | The function to be called. Class methods may also be invoked statically using this function by passing array($classname, $methodname) to this parameter. Additionally class methods of an object instance may be called by passing array($objectinstance, $methodname) to this parameter. |
$parameter |
mixed |
null, | Zero or more parameters to be passed to the function. |
$_ |
mixed |
null |
Návratové hodnoty
mixed
the function result, or false on error.