xref: /PHP-7.4/ext/zlib/tests/ob_002.phpt (revision d679f022)
1--TEST--
2zlib.output_compression
3--SKIPIF--
4<?php
5if (!extension_loaded("zlib")) die("skip need ext/zlib");
6?>
7--INI--
8zlib.output_compression=1
9--ENV--
10HTTP_ACCEPT_ENCODING=gzip
11--FILE--
12<?php
13ini_set("zlib.output_compression", 0);
14echo "hi\n";
15?>
16--EXPECT--
17hi
18