xref: /PHP-7.1/ext/zlib/tests/ob_001.phpt (revision 113213f0)
1--TEST--
2zlib.output_compression
3--SKIPIF--
4<?php
5if (!extension_loaded("zlib")) die("skip need ext/zlib");
6if (false === stristr(PHP_SAPI, "cgi")) die("skip need sapi/cgi");
7?>
8--GET--
9a=b
10--INI--
11zlib.output_compression=1
12--ENV--
13HTTP_ACCEPT_ENCODING=gzip
14--FILE--
15<?php
16echo "hi\n";
17?>
18--EXPECTF--
19�%s
20