Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Turn on output buffering
<?php ob_start(?callable $callback = null, int $chunk_size = 0, int $flags = PHP_OUTPUT_HANDLER_STDFLAGS): bool
<?php         $collector = Collector::create()->collect()->register();

        $result = Dispatcher::create($collector)->dispatch('get', '/');



        ob_start();

        $result->getRoute()->getHandler()();

        $echoed = ob_get_contents();

        ob_end_clean();