Availability in versions: PHP 5.3.0
Call a static method and pass the arguments as array
| Parameter | Data type | Default value | Note |
|---|---|---|---|
$function |
callback |
not | The function or method to be called. This parameter may be an &array;, with the name of the class, and the method, or a &string;, with a function name. |
$parameters |
array |
null |
mixed
the function result, or false on error.
Autor článku pracuje jako seniorní vývojář a software architekt v Praze. Navrhuje a spravuje velké webové aplikace, které znáte a používáte. Od roku 2009 nabral bohaté zkušenosti, které tímto webem předává dál.
Rád vám pomůžu:
Nejlepsi tipy a triky o PHP do Vaseho e-mailu. Clanky a novinky nejen ze sveta PHP a programovani.