1--TEST--
2Test function readgzfile() by substituting argument 2 with boolean values.
3--EXTENSIONS--
4zlib
5--FILE--
6<?php
7
8
9$filename = __DIR__."/004.txt.gz";
10
11$variation = array(
12  'lowercase true' => true,
13  'lowercase false' =>false,
14  'uppercase TRUE' =>TRUE,
15  'uppercase FALSE' =>FALSE,
16  );
17
18
19foreach ( $variation as $var ) {
20  var_dump(readgzfile( $filename, $var  ) );
21}
22?>
23--EXPECT--
24When you're taught through feelings
25Destiny flying high above
26all I know is that you can realize it
27Destiny who cares
28as it turns around
29and I know that it descends down on me
30int(176)
31When you're taught through feelings
32Destiny flying high above
33all I know is that you can realize it
34Destiny who cares
35as it turns around
36and I know that it descends down on me
37int(176)
38When you're taught through feelings
39Destiny flying high above
40all I know is that you can realize it
41Destiny who cares
42as it turns around
43and I know that it descends down on me
44int(176)
45When you're taught through feelings
46Destiny flying high above
47all I know is that you can realize it
48Destiny who cares
49as it turns around
50and I know that it descends down on me
51int(176)
52