1--TEST--
2Test compress.zlib:// scheme with the file
3--SKIPIF--
4<?php
5if (!extension_loaded("zlib")) {
6    print "skip - ZLIB extension not loaded";
7}
8?>
9--FILE--
10<?php
11$inputFileName = __DIR__."/004.txt.gz";
12$srcFile = "compress.zlib://$inputFileName";
13$contents = file($srcFile);
14var_dump($contents);
15?>
16--EXPECT--
17array(6) {
18  [0]=>
19  string(36) "When you're taught through feelings
20"
21  [1]=>
22  string(26) "Destiny flying high above
23"
24  [2]=>
25  string(38) "all I know is that you can realize it
26"
27  [3]=>
28  string(18) "Destiny who cares
29"
30  [4]=>
31  string(19) "as it turns around
32"
33  [5]=>
34  string(39) "and I know that it descends down on me
35"
36}
37