|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-02-24 13:56 UTC] tony2001@php.net
[2006-02-24 14:03 UTC] lunter at interia dot pl
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 08:00:01 2025 UTC |
Description: ------------ ob_gzhandler() with ob_get_clean() problem - sending uncompressed data Reproduce code: --------------- <?php ob_start('ob_gzhandler'); print(str_repeat('A',10000)); $out=ob_get_clean(); $out=strtolower($out); print($out); ob_end_flush(); ?> Expected result: ---------------- sending header: Content-Encoding: gzip sending compressed data Actual result: -------------- sending header: Content-Encoding: gzip sending UNCOMPRESSED data