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