Annotation of embedaddon/php/ext/zlib/tests/bug55544-win.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: Bug #55544 (ob_gzhandler always conflicts with zlib.output_compression)
! 3: --SKIPIF--
! 4: <?php
! 5: extension_loaded("zlib") or die("skip");
! 6: if (substr(PHP_OS, 0, 3) != 'WIN') {
! 7: die("skip windows only");
! 8: }
! 9: ?>
! 10: --INI--
! 11: output_handler=ob_gzhandler
! 12: zlib.output_compression=0
! 13: --ENV--
! 14: HTTP_ACCEPT_ENCODING=gzip
! 15: --FILE--
! 16: <?php
! 17: echo "hi";
! 18: ?>
! 19: --EXPECT--
! 20: ‹ ËÈ ¬*“Ø
! 21: --EXPECTHEADERS--
! 22: Content-Encoding: gzip
! 23: Vary: Accept-Encoding
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>