Call a static method and pass the arguments as array

function forward_static_call_array<T>(
  callable $function,
  array $parameters,
): mixed;


  • callable $function - The function or method to be called. This parameter may be an , with the name of the class, and the method, or a , with a function name.
  • array $parameters -

Return Values

  • mixed - - Returns the function result, or FALSE on error.