1--TEST-- 2zlib.output_compression 3--EXTENSIONS-- 4zlib 5--SKIPIF-- 6<?php 7if (false === stristr(PHP_SAPI, "cgi")) die("skip need sapi/cgi"); 8?> 9--INI-- 10zlib.output_compression=0 11--ENV-- 12HTTP_ACCEPT_ENCODING=gzip 13--POST-- 14dummy=42 15--FILE-- 16<?php 17ini_set("zlib.output_compression", 1); 18echo "hi\n"; 19?> 20--EXPECTF-- 21�%a 22--EXPECTHEADERS-- 23Content-Encoding: gzip 24Vary: Accept-Encoding 25