summaryrefslogtreecommitdiff
path: root/ext/zlib/tests
diff options
context:
space:
mode:
authorMichael Wallner <mike@php.net>2012-04-24 18:37:29 (GMT)
committerMichael Wallner <mike@php.net>2012-04-24 18:37:29 (GMT)
commita9836496e3abdcd3f6069f2d525e1e5c98b303c9 (patch)
treeb403d49f56f1377f2ddb882e5ee91538d7781efa /ext/zlib/tests
parent342b641a93355e9debea263b66accd5726d8ae04 (diff)
parent7c93a16477d7e4d6e0386d0613558360f036d57b (diff)
downloadphp-a9836496e3abdcd3f6069f2d525e1e5c98b303c9.tar.gz
Merge branch 'PHP-5.4'
Diffstat (limited to 'ext/zlib/tests')
-rw-r--r--ext/zlib/tests/bug61443.phpt15
1 files changed, 15 insertions, 0 deletions
diff --git a/ext/zlib/tests/bug61443.phpt b/ext/zlib/tests/bug61443.phpt
new file mode 100644
index 0000000..ea2fa68
--- /dev/null
+++ b/ext/zlib/tests/bug61443.phpt
@@ -0,0 +1,15 @@
+--TEST--
+bug #61443
+--SKIPIF--
+<?php
+extension_loaded("zlib") or die("skip");
+?>
+--FILE--
+<?php
+ob_start(); echo "foo\n"; ob_get_clean();
+if(!headers_sent()) ini_set('zlib.output_compression', true); echo "end\n";
+?>
+DONE
+--EXPECTF--
+end
+DONE