Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Turn on output buffering
ob_start(callable $callback nullint $chunk_size 0int $flags PHP_OUTPUT_HANDLER_STDFLAGS): bool
        }



        if (
$octaneResponse->response instanceof StreamedResponse) {

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

                if (
strlen($data) > 0) {

                    
$swooleResponse->write($data);

                }



                return 
'';

            }, 
1);



            
$octaneResponse->response->sendContent();
        try {

            
$responded false;



            
ob_start();



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