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