|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-08-24 22:50 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 31 23:00:01 2025 UTC |
Description: ------------ only when client do not support compressing save the below sample as: ob_gzhandler.phpt and: make test --TEST-- ob_gzhandler --POST-- --GET-- --FILE-- <?php function test($buffer, $flags) { $buffer = '456'; $buffer = ob_gzhandler($buffer, $flags); return $buffer; } ob_start('test'); echo 123; ?> --EXPECT-- 456 ===================================================================== FAILED TEST SUMMARY --------------------------------------------------------------------- ob_gzhandler [test/ob_handler.phpt] actual output is 123, not 456