1--TEST--
2Bug #54459 (Range function accuracy)
3--INI--
4precision=14
5--FILE--
6<?php
7foreach (range(90, 100, .1) as $i => $v){
8  echo $i, ' = ', $v, PHP_EOL;
9}
10foreach (range("90", "100", .1) as $i => $v){
11  echo $i, ' = ', $v, PHP_EOL;
12}
13?>
14--EXPECT--
150 = 90
161 = 90.1
172 = 90.2
183 = 90.3
194 = 90.4
205 = 90.5
216 = 90.6
227 = 90.7
238 = 90.8
249 = 90.9
2510 = 91
2611 = 91.1
2712 = 91.2
2813 = 91.3
2914 = 91.4
3015 = 91.5
3116 = 91.6
3217 = 91.7
3318 = 91.8
3419 = 91.9
3520 = 92
3621 = 92.1
3722 = 92.2
3823 = 92.3
3924 = 92.4
4025 = 92.5
4126 = 92.6
4227 = 92.7
4328 = 92.8
4429 = 92.9
4530 = 93
4631 = 93.1
4732 = 93.2
4833 = 93.3
4934 = 93.4
5035 = 93.5
5136 = 93.6
5237 = 93.7
5338 = 93.8
5439 = 93.9
5540 = 94
5641 = 94.1
5742 = 94.2
5843 = 94.3
5944 = 94.4
6045 = 94.5
6146 = 94.6
6247 = 94.7
6348 = 94.8
6449 = 94.9
6550 = 95
6651 = 95.1
6752 = 95.2
6853 = 95.3
6954 = 95.4
7055 = 95.5
7156 = 95.6
7257 = 95.7
7358 = 95.8
7459 = 95.9
7560 = 96
7661 = 96.1
7762 = 96.2
7863 = 96.3
7964 = 96.4
8065 = 96.5
8166 = 96.6
8267 = 96.7
8368 = 96.8
8469 = 96.9
8570 = 97
8671 = 97.1
8772 = 97.2
8873 = 97.3
8974 = 97.4
9075 = 97.5
9176 = 97.6
9277 = 97.7
9378 = 97.8
9479 = 97.9
9580 = 98
9681 = 98.1
9782 = 98.2
9883 = 98.3
9984 = 98.4
10085 = 98.5
10186 = 98.6
10287 = 98.7
10388 = 98.8
10489 = 98.9
10590 = 99
10691 = 99.1
10792 = 99.2
10893 = 99.3
10994 = 99.4
11095 = 99.5
11196 = 99.6
11297 = 99.7
11398 = 99.8
11499 = 99.9
115100 = 100
1160 = 90
1171 = 90.1
1182 = 90.2
1193 = 90.3
1204 = 90.4
1215 = 90.5
1226 = 90.6
1237 = 90.7
1248 = 90.8
1259 = 90.9
12610 = 91
12711 = 91.1
12812 = 91.2
12913 = 91.3
13014 = 91.4
13115 = 91.5
13216 = 91.6
13317 = 91.7
13418 = 91.8
13519 = 91.9
13620 = 92
13721 = 92.1
13822 = 92.2
13923 = 92.3
14024 = 92.4
14125 = 92.5
14226 = 92.6
14327 = 92.7
14428 = 92.8
14529 = 92.9
14630 = 93
14731 = 93.1
14832 = 93.2
14933 = 93.3
15034 = 93.4
15135 = 93.5
15236 = 93.6
15337 = 93.7
15438 = 93.8
15539 = 93.9
15640 = 94
15741 = 94.1
15842 = 94.2
15943 = 94.3
16044 = 94.4
16145 = 94.5
16246 = 94.6
16347 = 94.7
16448 = 94.8
16549 = 94.9
16650 = 95
16751 = 95.1
16852 = 95.2
16953 = 95.3
17054 = 95.4
17155 = 95.5
17256 = 95.6
17357 = 95.7
17458 = 95.8
17559 = 95.9
17660 = 96
17761 = 96.1
17862 = 96.2
17963 = 96.3
18064 = 96.4
18165 = 96.5
18266 = 96.6
18367 = 96.7
18468 = 96.8
18569 = 96.9
18670 = 97
18771 = 97.1
18872 = 97.2
18973 = 97.3
19074 = 97.4
19175 = 97.5
19276 = 97.6
19377 = 97.7
19478 = 97.8
19579 = 97.9
19680 = 98
19781 = 98.1
19882 = 98.2
19983 = 98.3
20084 = 98.4
20185 = 98.5
20286 = 98.6
20387 = 98.7
20488 = 98.8
20589 = 98.9
20690 = 99
20791 = 99.1
20892 = 99.2
20993 = 99.3
21094 = 99.4
21195 = 99.5
21296 = 99.6
21397 = 99.7
21498 = 99.8
21599 = 99.9
216100 = 100
217