Annotation of embedaddon/php/ext/zlib/tests/bug61820.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: bug #61820 using ob_gzhandler will complain about headers already sent when no compression
3: --SKIPIF--
4: <?php
5: extension_loaded("zlib") or die("skip");
6: ?>
7: --FILE--
8: <?php
9: ob_start('ob_gzhandler');
10:
11: echo "Hi there.\n";
12: ob_flush();
13: flush();
14:
15: echo "This is confusing...\n";
16: ob_flush();
17: flush();
18: ?>
19: DONE
20: --EXPECT--
21: Hi there.
22: This is confusing...
23: DONE
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>