forward_static_call_array

forward_static_call_array

(PHP 5 >= 5.3.0, PHP 7)

forward_static_call_arrayCall a static method and pass the arguments as array

Description

mixed forward_static_call_array ( callable $function , array $parameters )

Calls a user defined function or method given by the function parameter. This function must be called within a method context, it can't be used outside a class. It uses the late static binding. All arguments of the forwarded method are passed as values, and as an array, similarly to 登录查看完整内容