call_user_func_array

Supported Versions: PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8
Call a callback with an array of parameters
<?php call_user_func_array(callable $callback, array $args): mixed
<?php     private function __callClosure(Closure $closure, array $arguments): mixed

    {

        return ExceptionTrace::ensure(fn (): mixed => call_user_func_array(Closure::bind($closure, $this, $this::class), $arguments));

    }
<?php             }




            return new HigherOrderExpectation($this, call_user_func_array($this->value->$method(...), $parameters));

        }



        $closure = $this->getExpectationClosure($method);
<?php             array_reverse($this->pipes),

            $this->carry(),

            function (): void {

                call_user_func_array($this->closure, $this->passables);

            }

        );