1--TEST--
2ob_gzhandler legacy
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=
13--POST--
14dummy=42
15--FILE--
16<?php
17if (false !== ob_gzhandler("", PHP_OUTPUT_HANDLER_START)) {
18    ini_set("zlib.output_compression", 0);
19    ob_start("ob_gzhandler");
20}
21echo "hi\n";
22?>
23--EXPECT--
24hi
25--EXPECTHEADERS--
26