Description
The following code:
<?php
ob_start('ob_gzhandler');
ob_clean();
echo 'Hello World';
Resulted in this output:
But I expected this output instead:
There is no mention anywhere in the documentation that clearing the output buffer resets the Content-Encoding HTTP Header. If this is by design it should be stated, but it feels like an error.
PHP Version
PHP 8.0.10
Operating System
Windows 11 x64
Description
The following code:
Resulted in this output:
But I expected this output instead:
There is no mention anywhere in the documentation that clearing the output buffer resets the Content-Encoding HTTP Header. If this is by design it should be stated, but it feels like an error.
PHP Version
PHP 8.0.10
Operating System
Windows 11 x64