xref: /PHP-8.3/ext/zlib/tests/ob_001.phpt (revision 74859783)
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--GET--
10a=b
11--INI--
12zlib.output_compression=1
13--ENV--
14HTTP_ACCEPT_ENCODING=gzip
15--FILE--
16<?php
17echo "hi\n";
18?>
19--EXPECTF--
20�%a
21