1--TEST--
2Test function readgzfile() by substituting argument 2 with float 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 = dirname(__FILE__)."/004.txt.gz";
12
13
14$variation = array(
15  'float 10.5' => 10.5,
16  'float -10.5' => -10.5,
17  'float 12.3456789000e10' => 12.3456789000e10,
18  'float -12.3456789000e10' => -12.3456789000e10,
19  'float .5' => .5,
20  );
21
22
23foreach ( $variation as $var ) {
24  var_dump(readgzfile( $filename, $var  ) );
25}
26?>
27===DONE===
28--EXPECT--
29When you're taught through feelings
30Destiny flying high above
31all I know is that you can realize it
32Destiny who cares
33as it turns around
34and I know that it descends down on me
35int(176)
36When you're taught through feelings
37Destiny flying high above
38all I know is that you can realize it
39Destiny who cares
40as it turns around
41and I know that it descends down on me
42int(176)
43When you're taught through feelings
44Destiny flying high above
45all I know is that you can realize it
46Destiny who cares
47as it turns around
48and I know that it descends down on me
49int(176)
50When you're taught through feelings
51Destiny flying high above
52all I know is that you can realize it
53Destiny who cares
54as it turns around
55and I know that it descends down on me
56int(176)
57When you're taught through feelings
58Destiny flying high above
59all I know is that you can realize it
60Destiny who cares
61as it turns around
62and I know that it descends down on me
63int(176)
64===DONE===