|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2012-04-23 09:01 UTC] mike@php.net
-Status: Open
+Status: Assigned
-Assigned To:
+Assigned To: mike
[2012-04-24 17:53 UTC] mike@php.net
[2012-04-24 17:56 UTC] mike@php.net
-Status: Assigned
+Status: Closed
[2012-04-24 17:56 UTC] mike@php.net
[2014-10-07 23:26 UTC] stas@php.net
[2014-10-07 23:37 UTC] stas@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 22:00:01 2025 UTC |
Description: ------------ When using ob_gzhandler with PHP 5.4.0+, PHP will emit warnings after flushing more than once (it looks like it's trying to modify headers on each flush). This problem didn't exist in PHP 5.3. Test script: --------------- <?php ob_start('ob_gzhandler'); echo "PHP VERSION ".phpversion()."\n"; ob_flush(); flush(); echo "This is confusing:\n"; ob_flush(); flush(); Expected result: ---------------- PHP VERSION 5.5.0-dev This is confusing: Actual result: -------------- PHP VERSION 5.5.0-dev This is confusing: Warning: Cannot modify header information - headers already sent by (output started at php-src/moo.php:6) in php-src/moo.php on line 10