Annotation of embedaddon/php/ext/zlib/tests/ob_001.phpt, revision 1.1.1.1

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

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>