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 = dirname(__FILE__)."/004.txt.gz";
12$srcFile = "compress.zlib://$inputFileName";
13$contents = file($srcFile);
14var_dump($contents);
15?>
16===DONE===
17--EXPECT--
18array(6) {
19  [0]=>
20  string(36) "When you're taught through feelings
21"
22  [1]=>
23  string(26) "Destiny flying high above
24"
25  [2]=>
26  string(38) "all I know is that you can realize it
27"
28  [3]=>
29  string(18) "Destiny who cares
30"
31  [4]=>
32  string(19) "as it turns around
33"
34  [5]=>
35  string(39) "and I know that it descends down on me
36"
37}
38===DONE===