xref: /PHP-7.1/ext/zlib/tests/bug55544-win.phpt (revision ff0aa240)
1--TEST--
2Bug #55544 (ob_gzhandler always conflicts with zlib.output_compression)
3--SKIPIF--
4<?php
5extension_loaded("zlib") or die("skip");
6if (substr(PHP_OS, 0, 3) != 'WIN') {
7	die("skip windows only");
8}
9?>
10--INI--
11output_handler=ob_gzhandler
12zlib.output_compression=0
13--ENV--
14HTTP_ACCEPT_ENCODING=gzip
15--FILE--
16<?php
17echo "hi";
18?>
19--EXPECT--
20�����������*��
21--EXPECTHEADERS--
22Content-Encoding: gzip
23Vary: Accept-Encoding
24