The implementation of gzip support uses the ob_start() and related functions from the output_buffering features of PHP, hence why the legacy test for whether gzip can be supported has been based on whether output_buffering is enabled.