summaryrefslogtreecommitdiff
path: root/ext/zlib/tests/001.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/zlib/tests/001.phpt')
-rw-r--r--ext/zlib/tests/001.phpt32
1 files changed, 0 insertions, 32 deletions
diff --git a/ext/zlib/tests/001.phpt b/ext/zlib/tests/001.phpt
deleted file mode 100644
index 4850a65a5a..0000000000
--- a/ext/zlib/tests/001.phpt
+++ /dev/null
@@ -1,32 +0,0 @@
---TEST--
-gzdeflate()/gzinflate()
---SKIPIF--
-<?php if (!extension_loaded("zlib")) print "skip"; ?>
---FILE--
-<?php /* $Id$ */
-$original = str_repeat("hallo php",4096);
-$packed=gzdeflate($original);
-echo strlen($packed)." ".strlen($original)."\n";
-$unpacked=gzinflate($packed);
-if (strcmp($original,$unpacked)==0) echo "Strings are equal\n";
-
-/* with explicit compression level, length */
-$original = str_repeat("hallo php",4096);
-$packed=gzdeflate($original, 9);
-echo strlen($packed)." ".strlen($original)."\n";
-$unpacked=gzinflate($packed, 40000);
-if (strcmp($original,$unpacked)==0) echo "Strings are equal\n";
-
-$original = 'aaaaaaaaaaaaaaa';
-$packed=gzdeflate($original);
-echo strlen($packed)." ".strlen($original)."\n";
-$unpacked=gzinflate($packed);
-if (strcmp($original,$unpacked)==0) echo "Strings are equal";
-?>
---EXPECT--
-100 36864
-Strings are equal
-100 36864
-Strings are equal
-5 15
-Strings are equal \ No newline at end of file