path: root/ext/zlib/tests/zlib_scheme_fopen_variation1.phpt
diff options
authorDave Kelsey <>2009-01-22 14:14:54 (GMT)
committerDave Kelsey <>2009-01-22 14:14:54 (GMT)
commita7de3bcb64830a2199483fe978fd749f90efc9c6 (patch)
tree097c8ec0381056ef18017e3202d029897a138d4b /ext/zlib/tests/zlib_scheme_fopen_variation1.phpt
parentf0c173aa35c73f425f02b8dfc5a4a8d9fa43259b (diff)
final collection of zlib tests. tested on linux, windows and linux 64 bit
Diffstat (limited to 'ext/zlib/tests/zlib_scheme_fopen_variation1.phpt')
1 files changed, 30 insertions, 0 deletions
diff --git a/ext/zlib/tests/zlib_scheme_fopen_variation1.phpt b/ext/zlib/tests/zlib_scheme_fopen_variation1.phpt
new file mode 100644
index 0000000..8c26492
--- /dev/null
+++ b/ext/zlib/tests/zlib_scheme_fopen_variation1.phpt
@@ -0,0 +1,30 @@
+Test compress.zlib:// scheme with the fopen on a file scheme
+if (!extension_loaded("zlib")) {
+ print "skip - ZLIB extension not loaded";
+$inputFileName = dirname(__FILE__)."/004.txt.gz";
+$srcFile = "file://$inputFileName";
+$compressedFile = "compress.zlib://$srcFile";
+echo "file=$compressedFile\n\n";
+$h = fopen($compressedFile, 'r');
+When you're taught through feelings
+Destiny flying high above
+all I know is that you can realize it
+Destiny who cares
+as it turns around
+and I know that it descends down on me
+===DONE=== \ No newline at end of file