PHP funkce forward_static_call_array()
06. 07. 2020Dostupnost ve verzích: PHP 5.3.0
Call a static method and pass the arguments as array
Parametry
Parametr | Datový typ | Výchozí hodnota | Poznámka |
---|---|---|---|
$function | callback | 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 |
Návratové hodnoty
mixed
the function result, or false on error.
Další zdroje
https://php.net/manual/en/function.forward-static-call-array.php
Jan Barášek Více o autorovi
Autor článku podniká jako fullstack senior developer v Praze. Spravuje 300 různě velkých webových projektů, fungujících dodnes. Během spolupráce nabral hluboké zkušenosti, které na tomto webu předává dál.
Rád vám pomůžu:
Kontakt Konzultace a služby Nabídka spolupráce