1--TEST--
2Test compress.zlib:// scheme with the fopen on a file scheme
3--EXTENSIONS--
4zlib
5--FILE--
6<?php
7$inputFileName = __DIR__."/004.txt.gz";
8$srcFile = "file://$inputFileName";
9$compressedFile = "compress.zlib://$srcFile";
10
11echo "file=$compressedFile\n\n";
12$h = fopen($compressedFile, 'r');
13fpassthru($h);
14fclose($h);
15?>
16--EXPECTF--
17file=compress.zlib://file://%s/004.txt.gz
18
19When you're taught through feelings
20Destiny flying high above
21all I know is that you can realize it
22Destiny who cares
23as it turns around
24and I know that it descends down on me
25