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         }



        if ($octaneResponse->response instanceof StreamedResponse) {

            ob_start(function ($data) use ($swooleResponse) {

                if (strlen($data) > 0) {

                    $swooleResponse->write($data);

                }



                return '';

            }, 1);



            $octaneResponse->response->sendContent();
<?php         try {

            $responded = false;



            ob_start();



            $response = $gateway->handle($request);