summaryrefslogtreecommitdiff
path: root/ext/zlib/tests/002.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/zlib/tests/002.phpt')
-rw-r--r--ext/zlib/tests/002.phpt26
1 files changed, 0 insertions, 26 deletions
diff --git a/ext/zlib/tests/002.phpt b/ext/zlib/tests/002.phpt
deleted file mode 100644
index 5921ffeee2..0000000000
--- a/ext/zlib/tests/002.phpt
+++ /dev/null
@@ -1,26 +0,0 @@
---TEST--
-gzcompress()/gzuncompress()
---SKIPIF--
-<?php if (!extension_loaded("zlib")) print "skip"; ?>
---POST--
---GET--
---FILE--
-<?php /* $Id$ */
-$original = str_repeat("hallo php",4096);
-$packed=gzcompress($original);
-echo strlen($packed)." ".strlen($original)."\n";
-$unpacked=gzuncompress($packed);
-if (strcmp($original,$unpacked)==0) echo "Strings are equal\n";
-
-/* with explicit compression level, length */
-$original = str_repeat("hallo php",4096);
-$packed=gzcompress($original, 9);
-echo strlen($packed)." ".strlen($original)."\n";
-$unpacked=gzuncompress($packed, 40000);
-if (strcmp($original,$unpacked)==0) echo "Strings are equal\n";
-?>
---EXPECT--
-106 36864
-Strings are equal
-106 36864
-Strings are equal