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