call_user_func

Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Call the callback given by the first parameter
<?php call_user_func(callable $callback, mixed ...$args): mixed
<?php     public function invokeRoute(Request $request, string $method, string $uri): Response

    {

        return call_user_func($this->routes[$method.$uri], $request);

    }

}
<?php         }



        try {

            call_user_func($this->callback);

        } catch (Throwable $e) {

            $this->exceptionHandler->report($e);

        }