1--TEST--
2Test fscanf() function: usage variations - float formats with float values
3--FILE--
4<?php
5
6/* Test fscanf() to scan different float values using different format types */
7
8$file_path = __DIR__;
9
10echo "*** Test fscanf(): different float format types with different float values ***\n";
11
12// create a file
13$filename = "$file_path/fscanf_variation8.tmp";
14$file_handle = fopen($filename, "w");
15if($file_handle == false)
16  exit("Error:failed to open file $filename");
17
18// different valid float values
19$valid_floats = array(
20-2147483649, // float value
21  2147483648,  // float value
22  -0x80000001, // float value, beyond max negative int
23  0x800000001, // float value, beyond max positive int
24  020000000001, // float value, beyond max positive int
25  -020000000001, // float value, beyond max negative int
26  0.0,
27  -0.1,
28  10.0000000000000000005,
29  10.5e+5,
30  1e5,
31  -1e5,
32  1e-5,
33  -1e-5,
34  1e+5,
35  -1e+5,
36  1E5,
37  -1E5,
38  1E+5,
39  -1E+5,
40  1E-5,
41  -1E-5,
42  .5e+7,
43  -.5e+7,
44  .6e-19,
45  -.6e-19,
46  .05E+44,
47  -.05E+44,
48  .0034E-30,
49  -.0034E-30
50);
51
52// various float formats
53$float_formats = array( "%f",
54                        "%hf", "%lf", "%Lf",
55                        " %f", "%f ", "% f",
56                        "\t%f", "\n%f", "%4f",
57                        "%30f", "%[0-9]", "%*f",
58                 );
59
60$counter = 1;
61
62// writing to the file
63foreach($valid_floats as $float_value) {
64  @fprintf($file_handle, $float_value);
65  @fprintf($file_handle, "\n");
66}
67// closing the file
68fclose($file_handle);
69
70// opening the file for reading
71$file_handle = fopen($filename, "r");
72if($file_handle == false) {
73  exit("Error:failed to open file $filename");
74}
75
76$counter = 1;
77// reading the values from file using different float formats
78foreach($float_formats as $float_format) {
79  // rewind the file so that for every foreach iteration the file pointer starts from bof
80  rewind($file_handle);
81  echo "\n-- iteration $counter --\n";
82  while( !feof($file_handle) ) {
83    try {
84      var_dump(fscanf($file_handle,$float_format));
85    } catch (ValueError $exception) {
86      echo $exception->getMessage() . "\n";
87    }
88  }
89  $counter++;
90}
91
92echo "\n*** Done ***";
93?>
94--CLEAN--
95<?php
96$file_path = __DIR__;
97$filename = "$file_path/fscanf_variation8.tmp";
98unlink($filename);
99?>
100--EXPECT--
101*** Test fscanf(): different float format types with different float values ***
102
103-- iteration 1 --
104array(1) {
105  [0]=>
106  float(-2147483649)
107}
108array(1) {
109  [0]=>
110  float(2147483648)
111}
112array(1) {
113  [0]=>
114  float(-2147483649)
115}
116array(1) {
117  [0]=>
118  float(34359738369)
119}
120array(1) {
121  [0]=>
122  float(2147483649)
123}
124array(1) {
125  [0]=>
126  float(-2147483649)
127}
128array(1) {
129  [0]=>
130  float(0)
131}
132array(1) {
133  [0]=>
134  float(-0.1)
135}
136array(1) {
137  [0]=>
138  float(10)
139}
140array(1) {
141  [0]=>
142  float(1050000)
143}
144array(1) {
145  [0]=>
146  float(100000)
147}
148array(1) {
149  [0]=>
150  float(-100000)
151}
152array(1) {
153  [0]=>
154  float(1.0E-5)
155}
156array(1) {
157  [0]=>
158  float(-1.0E-5)
159}
160array(1) {
161  [0]=>
162  float(100000)
163}
164array(1) {
165  [0]=>
166  float(-100000)
167}
168array(1) {
169  [0]=>
170  float(100000)
171}
172array(1) {
173  [0]=>
174  float(-100000)
175}
176array(1) {
177  [0]=>
178  float(100000)
179}
180array(1) {
181  [0]=>
182  float(-100000)
183}
184array(1) {
185  [0]=>
186  float(1.0E-5)
187}
188array(1) {
189  [0]=>
190  float(-1.0E-5)
191}
192array(1) {
193  [0]=>
194  float(5000000)
195}
196array(1) {
197  [0]=>
198  float(-5000000)
199}
200array(1) {
201  [0]=>
202  float(6.0E-20)
203}
204array(1) {
205  [0]=>
206  float(-6.0E-20)
207}
208array(1) {
209  [0]=>
210  float(5.0E+42)
211}
212array(1) {
213  [0]=>
214  float(-5.0E+42)
215}
216array(1) {
217  [0]=>
218  float(3.4E-33)
219}
220array(1) {
221  [0]=>
222  float(-3.4E-33)
223}
224bool(false)
225
226-- iteration 2 --
227array(1) {
228  [0]=>
229  float(-2147483649)
230}
231array(1) {
232  [0]=>
233  float(2147483648)
234}
235array(1) {
236  [0]=>
237  float(-2147483649)
238}
239array(1) {
240  [0]=>
241  float(34359738369)
242}
243array(1) {
244  [0]=>
245  float(2147483649)
246}
247array(1) {
248  [0]=>
249  float(-2147483649)
250}
251array(1) {
252  [0]=>
253  float(0)
254}
255array(1) {
256  [0]=>
257  float(-0.1)
258}
259array(1) {
260  [0]=>
261  float(10)
262}
263array(1) {
264  [0]=>
265  float(1050000)
266}
267array(1) {
268  [0]=>
269  float(100000)
270}
271array(1) {
272  [0]=>
273  float(-100000)
274}
275array(1) {
276  [0]=>
277  float(1.0E-5)
278}
279array(1) {
280  [0]=>
281  float(-1.0E-5)
282}
283array(1) {
284  [0]=>
285  float(100000)
286}
287array(1) {
288  [0]=>
289  float(-100000)
290}
291array(1) {
292  [0]=>
293  float(100000)
294}
295array(1) {
296  [0]=>
297  float(-100000)
298}
299array(1) {
300  [0]=>
301  float(100000)
302}
303array(1) {
304  [0]=>
305  float(-100000)
306}
307array(1) {
308  [0]=>
309  float(1.0E-5)
310}
311array(1) {
312  [0]=>
313  float(-1.0E-5)
314}
315array(1) {
316  [0]=>
317  float(5000000)
318}
319array(1) {
320  [0]=>
321  float(-5000000)
322}
323array(1) {
324  [0]=>
325  float(6.0E-20)
326}
327array(1) {
328  [0]=>
329  float(-6.0E-20)
330}
331array(1) {
332  [0]=>
333  float(5.0E+42)
334}
335array(1) {
336  [0]=>
337  float(-5.0E+42)
338}
339array(1) {
340  [0]=>
341  float(3.4E-33)
342}
343array(1) {
344  [0]=>
345  float(-3.4E-33)
346}
347bool(false)
348
349-- iteration 3 --
350array(1) {
351  [0]=>
352  float(-2147483649)
353}
354array(1) {
355  [0]=>
356  float(2147483648)
357}
358array(1) {
359  [0]=>
360  float(-2147483649)
361}
362array(1) {
363  [0]=>
364  float(34359738369)
365}
366array(1) {
367  [0]=>
368  float(2147483649)
369}
370array(1) {
371  [0]=>
372  float(-2147483649)
373}
374array(1) {
375  [0]=>
376  float(0)
377}
378array(1) {
379  [0]=>
380  float(-0.1)
381}
382array(1) {
383  [0]=>
384  float(10)
385}
386array(1) {
387  [0]=>
388  float(1050000)
389}
390array(1) {
391  [0]=>
392  float(100000)
393}
394array(1) {
395  [0]=>
396  float(-100000)
397}
398array(1) {
399  [0]=>
400  float(1.0E-5)
401}
402array(1) {
403  [0]=>
404  float(-1.0E-5)
405}
406array(1) {
407  [0]=>
408  float(100000)
409}
410array(1) {
411  [0]=>
412  float(-100000)
413}
414array(1) {
415  [0]=>
416  float(100000)
417}
418array(1) {
419  [0]=>
420  float(-100000)
421}
422array(1) {
423  [0]=>
424  float(100000)
425}
426array(1) {
427  [0]=>
428  float(-100000)
429}
430array(1) {
431  [0]=>
432  float(1.0E-5)
433}
434array(1) {
435  [0]=>
436  float(-1.0E-5)
437}
438array(1) {
439  [0]=>
440  float(5000000)
441}
442array(1) {
443  [0]=>
444  float(-5000000)
445}
446array(1) {
447  [0]=>
448  float(6.0E-20)
449}
450array(1) {
451  [0]=>
452  float(-6.0E-20)
453}
454array(1) {
455  [0]=>
456  float(5.0E+42)
457}
458array(1) {
459  [0]=>
460  float(-5.0E+42)
461}
462array(1) {
463  [0]=>
464  float(3.4E-33)
465}
466array(1) {
467  [0]=>
468  float(-3.4E-33)
469}
470bool(false)
471
472-- iteration 4 --
473array(1) {
474  [0]=>
475  float(-2147483649)
476}
477array(1) {
478  [0]=>
479  float(2147483648)
480}
481array(1) {
482  [0]=>
483  float(-2147483649)
484}
485array(1) {
486  [0]=>
487  float(34359738369)
488}
489array(1) {
490  [0]=>
491  float(2147483649)
492}
493array(1) {
494  [0]=>
495  float(-2147483649)
496}
497array(1) {
498  [0]=>
499  float(0)
500}
501array(1) {
502  [0]=>
503  float(-0.1)
504}
505array(1) {
506  [0]=>
507  float(10)
508}
509array(1) {
510  [0]=>
511  float(1050000)
512}
513array(1) {
514  [0]=>
515  float(100000)
516}
517array(1) {
518  [0]=>
519  float(-100000)
520}
521array(1) {
522  [0]=>
523  float(1.0E-5)
524}
525array(1) {
526  [0]=>
527  float(-1.0E-5)
528}
529array(1) {
530  [0]=>
531  float(100000)
532}
533array(1) {
534  [0]=>
535  float(-100000)
536}
537array(1) {
538  [0]=>
539  float(100000)
540}
541array(1) {
542  [0]=>
543  float(-100000)
544}
545array(1) {
546  [0]=>
547  float(100000)
548}
549array(1) {
550  [0]=>
551  float(-100000)
552}
553array(1) {
554  [0]=>
555  float(1.0E-5)
556}
557array(1) {
558  [0]=>
559  float(-1.0E-5)
560}
561array(1) {
562  [0]=>
563  float(5000000)
564}
565array(1) {
566  [0]=>
567  float(-5000000)
568}
569array(1) {
570  [0]=>
571  float(6.0E-20)
572}
573array(1) {
574  [0]=>
575  float(-6.0E-20)
576}
577array(1) {
578  [0]=>
579  float(5.0E+42)
580}
581array(1) {
582  [0]=>
583  float(-5.0E+42)
584}
585array(1) {
586  [0]=>
587  float(3.4E-33)
588}
589array(1) {
590  [0]=>
591  float(-3.4E-33)
592}
593bool(false)
594
595-- iteration 5 --
596array(1) {
597  [0]=>
598  float(-2147483649)
599}
600array(1) {
601  [0]=>
602  float(2147483648)
603}
604array(1) {
605  [0]=>
606  float(-2147483649)
607}
608array(1) {
609  [0]=>
610  float(34359738369)
611}
612array(1) {
613  [0]=>
614  float(2147483649)
615}
616array(1) {
617  [0]=>
618  float(-2147483649)
619}
620array(1) {
621  [0]=>
622  float(0)
623}
624array(1) {
625  [0]=>
626  float(-0.1)
627}
628array(1) {
629  [0]=>
630  float(10)
631}
632array(1) {
633  [0]=>
634  float(1050000)
635}
636array(1) {
637  [0]=>
638  float(100000)
639}
640array(1) {
641  [0]=>
642  float(-100000)
643}
644array(1) {
645  [0]=>
646  float(1.0E-5)
647}
648array(1) {
649  [0]=>
650  float(-1.0E-5)
651}
652array(1) {
653  [0]=>
654  float(100000)
655}
656array(1) {
657  [0]=>
658  float(-100000)
659}
660array(1) {
661  [0]=>
662  float(100000)
663}
664array(1) {
665  [0]=>
666  float(-100000)
667}
668array(1) {
669  [0]=>
670  float(100000)
671}
672array(1) {
673  [0]=>
674  float(-100000)
675}
676array(1) {
677  [0]=>
678  float(1.0E-5)
679}
680array(1) {
681  [0]=>
682  float(-1.0E-5)
683}
684array(1) {
685  [0]=>
686  float(5000000)
687}
688array(1) {
689  [0]=>
690  float(-5000000)
691}
692array(1) {
693  [0]=>
694  float(6.0E-20)
695}
696array(1) {
697  [0]=>
698  float(-6.0E-20)
699}
700array(1) {
701  [0]=>
702  float(5.0E+42)
703}
704array(1) {
705  [0]=>
706  float(-5.0E+42)
707}
708array(1) {
709  [0]=>
710  float(3.4E-33)
711}
712array(1) {
713  [0]=>
714  float(-3.4E-33)
715}
716bool(false)
717
718-- iteration 6 --
719array(1) {
720  [0]=>
721  float(-2147483649)
722}
723array(1) {
724  [0]=>
725  float(2147483648)
726}
727array(1) {
728  [0]=>
729  float(-2147483649)
730}
731array(1) {
732  [0]=>
733  float(34359738369)
734}
735array(1) {
736  [0]=>
737  float(2147483649)
738}
739array(1) {
740  [0]=>
741  float(-2147483649)
742}
743array(1) {
744  [0]=>
745  float(0)
746}
747array(1) {
748  [0]=>
749  float(-0.1)
750}
751array(1) {
752  [0]=>
753  float(10)
754}
755array(1) {
756  [0]=>
757  float(1050000)
758}
759array(1) {
760  [0]=>
761  float(100000)
762}
763array(1) {
764  [0]=>
765  float(-100000)
766}
767array(1) {
768  [0]=>
769  float(1.0E-5)
770}
771array(1) {
772  [0]=>
773  float(-1.0E-5)
774}
775array(1) {
776  [0]=>
777  float(100000)
778}
779array(1) {
780  [0]=>
781  float(-100000)
782}
783array(1) {
784  [0]=>
785  float(100000)
786}
787array(1) {
788  [0]=>
789  float(-100000)
790}
791array(1) {
792  [0]=>
793  float(100000)
794}
795array(1) {
796  [0]=>
797  float(-100000)
798}
799array(1) {
800  [0]=>
801  float(1.0E-5)
802}
803array(1) {
804  [0]=>
805  float(-1.0E-5)
806}
807array(1) {
808  [0]=>
809  float(5000000)
810}
811array(1) {
812  [0]=>
813  float(-5000000)
814}
815array(1) {
816  [0]=>
817  float(6.0E-20)
818}
819array(1) {
820  [0]=>
821  float(-6.0E-20)
822}
823array(1) {
824  [0]=>
825  float(5.0E+42)
826}
827array(1) {
828  [0]=>
829  float(-5.0E+42)
830}
831array(1) {
832  [0]=>
833  float(3.4E-33)
834}
835array(1) {
836  [0]=>
837  float(-3.4E-33)
838}
839bool(false)
840
841-- iteration 7 --
842Bad scan conversion character " "
843Bad scan conversion character " "
844Bad scan conversion character " "
845Bad scan conversion character " "
846Bad scan conversion character " "
847Bad scan conversion character " "
848Bad scan conversion character " "
849Bad scan conversion character " "
850Bad scan conversion character " "
851Bad scan conversion character " "
852Bad scan conversion character " "
853Bad scan conversion character " "
854Bad scan conversion character " "
855Bad scan conversion character " "
856Bad scan conversion character " "
857Bad scan conversion character " "
858Bad scan conversion character " "
859Bad scan conversion character " "
860Bad scan conversion character " "
861Bad scan conversion character " "
862Bad scan conversion character " "
863Bad scan conversion character " "
864Bad scan conversion character " "
865Bad scan conversion character " "
866Bad scan conversion character " "
867Bad scan conversion character " "
868Bad scan conversion character " "
869Bad scan conversion character " "
870Bad scan conversion character " "
871Bad scan conversion character " "
872bool(false)
873
874-- iteration 8 --
875array(1) {
876  [0]=>
877  float(-2147483649)
878}
879array(1) {
880  [0]=>
881  float(2147483648)
882}
883array(1) {
884  [0]=>
885  float(-2147483649)
886}
887array(1) {
888  [0]=>
889  float(34359738369)
890}
891array(1) {
892  [0]=>
893  float(2147483649)
894}
895array(1) {
896  [0]=>
897  float(-2147483649)
898}
899array(1) {
900  [0]=>
901  float(0)
902}
903array(1) {
904  [0]=>
905  float(-0.1)
906}
907array(1) {
908  [0]=>
909  float(10)
910}
911array(1) {
912  [0]=>
913  float(1050000)
914}
915array(1) {
916  [0]=>
917  float(100000)
918}
919array(1) {
920  [0]=>
921  float(-100000)
922}
923array(1) {
924  [0]=>
925  float(1.0E-5)
926}
927array(1) {
928  [0]=>
929  float(-1.0E-5)
930}
931array(1) {
932  [0]=>
933  float(100000)
934}
935array(1) {
936  [0]=>
937  float(-100000)
938}
939array(1) {
940  [0]=>
941  float(100000)
942}
943array(1) {
944  [0]=>
945  float(-100000)
946}
947array(1) {
948  [0]=>
949  float(100000)
950}
951array(1) {
952  [0]=>
953  float(-100000)
954}
955array(1) {
956  [0]=>
957  float(1.0E-5)
958}
959array(1) {
960  [0]=>
961  float(-1.0E-5)
962}
963array(1) {
964  [0]=>
965  float(5000000)
966}
967array(1) {
968  [0]=>
969  float(-5000000)
970}
971array(1) {
972  [0]=>
973  float(6.0E-20)
974}
975array(1) {
976  [0]=>
977  float(-6.0E-20)
978}
979array(1) {
980  [0]=>
981  float(5.0E+42)
982}
983array(1) {
984  [0]=>
985  float(-5.0E+42)
986}
987array(1) {
988  [0]=>
989  float(3.4E-33)
990}
991array(1) {
992  [0]=>
993  float(-3.4E-33)
994}
995bool(false)
996
997-- iteration 9 --
998array(1) {
999  [0]=>
1000  float(-2147483649)
1001}
1002array(1) {
1003  [0]=>
1004  float(2147483648)
1005}
1006array(1) {
1007  [0]=>
1008  float(-2147483649)
1009}
1010array(1) {
1011  [0]=>
1012  float(34359738369)
1013}
1014array(1) {
1015  [0]=>
1016  float(2147483649)
1017}
1018array(1) {
1019  [0]=>
1020  float(-2147483649)
1021}
1022array(1) {
1023  [0]=>
1024  float(0)
1025}
1026array(1) {
1027  [0]=>
1028  float(-0.1)
1029}
1030array(1) {
1031  [0]=>
1032  float(10)
1033}
1034array(1) {
1035  [0]=>
1036  float(1050000)
1037}
1038array(1) {
1039  [0]=>
1040  float(100000)
1041}
1042array(1) {
1043  [0]=>
1044  float(-100000)
1045}
1046array(1) {
1047  [0]=>
1048  float(1.0E-5)
1049}
1050array(1) {
1051  [0]=>
1052  float(-1.0E-5)
1053}
1054array(1) {
1055  [0]=>
1056  float(100000)
1057}
1058array(1) {
1059  [0]=>
1060  float(-100000)
1061}
1062array(1) {
1063  [0]=>
1064  float(100000)
1065}
1066array(1) {
1067  [0]=>
1068  float(-100000)
1069}
1070array(1) {
1071  [0]=>
1072  float(100000)
1073}
1074array(1) {
1075  [0]=>
1076  float(-100000)
1077}
1078array(1) {
1079  [0]=>
1080  float(1.0E-5)
1081}
1082array(1) {
1083  [0]=>
1084  float(-1.0E-5)
1085}
1086array(1) {
1087  [0]=>
1088  float(5000000)
1089}
1090array(1) {
1091  [0]=>
1092  float(-5000000)
1093}
1094array(1) {
1095  [0]=>
1096  float(6.0E-20)
1097}
1098array(1) {
1099  [0]=>
1100  float(-6.0E-20)
1101}
1102array(1) {
1103  [0]=>
1104  float(5.0E+42)
1105}
1106array(1) {
1107  [0]=>
1108  float(-5.0E+42)
1109}
1110array(1) {
1111  [0]=>
1112  float(3.4E-33)
1113}
1114array(1) {
1115  [0]=>
1116  float(-3.4E-33)
1117}
1118bool(false)
1119
1120-- iteration 10 --
1121array(1) {
1122  [0]=>
1123  float(-214)
1124}
1125array(1) {
1126  [0]=>
1127  float(2147)
1128}
1129array(1) {
1130  [0]=>
1131  float(-214)
1132}
1133array(1) {
1134  [0]=>
1135  float(3435)
1136}
1137array(1) {
1138  [0]=>
1139  float(2147)
1140}
1141array(1) {
1142  [0]=>
1143  float(-214)
1144}
1145array(1) {
1146  [0]=>
1147  float(0)
1148}
1149array(1) {
1150  [0]=>
1151  float(-0.1)
1152}
1153array(1) {
1154  [0]=>
1155  float(10)
1156}
1157array(1) {
1158  [0]=>
1159  float(1050)
1160}
1161array(1) {
1162  [0]=>
1163  float(1000)
1164}
1165array(1) {
1166  [0]=>
1167  float(-100)
1168}
1169array(1) {
1170  [0]=>
1171  float(1)
1172}
1173array(1) {
1174  [0]=>
1175  float(-1)
1176}
1177array(1) {
1178  [0]=>
1179  float(1000)
1180}
1181array(1) {
1182  [0]=>
1183  float(-100)
1184}
1185array(1) {
1186  [0]=>
1187  float(1000)
1188}
1189array(1) {
1190  [0]=>
1191  float(-100)
1192}
1193array(1) {
1194  [0]=>
1195  float(1000)
1196}
1197array(1) {
1198  [0]=>
1199  float(-100)
1200}
1201array(1) {
1202  [0]=>
1203  float(1)
1204}
1205array(1) {
1206  [0]=>
1207  float(-1)
1208}
1209array(1) {
1210  [0]=>
1211  float(5000)
1212}
1213array(1) {
1214  [0]=>
1215  float(-500)
1216}
1217array(1) {
1218  [0]=>
1219  float(6)
1220}
1221array(1) {
1222  [0]=>
1223  float(-6)
1224}
1225array(1) {
1226  [0]=>
1227  float(5)
1228}
1229array(1) {
1230  [0]=>
1231  float(-5)
1232}
1233array(1) {
1234  [0]=>
1235  float(3.4)
1236}
1237array(1) {
1238  [0]=>
1239  float(-3.4)
1240}
1241bool(false)
1242
1243-- iteration 11 --
1244array(1) {
1245  [0]=>
1246  float(-2147483649)
1247}
1248array(1) {
1249  [0]=>
1250  float(2147483648)
1251}
1252array(1) {
1253  [0]=>
1254  float(-2147483649)
1255}
1256array(1) {
1257  [0]=>
1258  float(34359738369)
1259}
1260array(1) {
1261  [0]=>
1262  float(2147483649)
1263}
1264array(1) {
1265  [0]=>
1266  float(-2147483649)
1267}
1268array(1) {
1269  [0]=>
1270  float(0)
1271}
1272array(1) {
1273  [0]=>
1274  float(-0.1)
1275}
1276array(1) {
1277  [0]=>
1278  float(10)
1279}
1280array(1) {
1281  [0]=>
1282  float(1050000)
1283}
1284array(1) {
1285  [0]=>
1286  float(100000)
1287}
1288array(1) {
1289  [0]=>
1290  float(-100000)
1291}
1292array(1) {
1293  [0]=>
1294  float(1.0E-5)
1295}
1296array(1) {
1297  [0]=>
1298  float(-1.0E-5)
1299}
1300array(1) {
1301  [0]=>
1302  float(100000)
1303}
1304array(1) {
1305  [0]=>
1306  float(-100000)
1307}
1308array(1) {
1309  [0]=>
1310  float(100000)
1311}
1312array(1) {
1313  [0]=>
1314  float(-100000)
1315}
1316array(1) {
1317  [0]=>
1318  float(100000)
1319}
1320array(1) {
1321  [0]=>
1322  float(-100000)
1323}
1324array(1) {
1325  [0]=>
1326  float(1.0E-5)
1327}
1328array(1) {
1329  [0]=>
1330  float(-1.0E-5)
1331}
1332array(1) {
1333  [0]=>
1334  float(5000000)
1335}
1336array(1) {
1337  [0]=>
1338  float(-5000000)
1339}
1340array(1) {
1341  [0]=>
1342  float(6.0E-20)
1343}
1344array(1) {
1345  [0]=>
1346  float(-6.0E-20)
1347}
1348array(1) {
1349  [0]=>
1350  float(5.0E+42)
1351}
1352array(1) {
1353  [0]=>
1354  float(-5.0E+42)
1355}
1356array(1) {
1357  [0]=>
1358  float(3.4E-33)
1359}
1360array(1) {
1361  [0]=>
1362  float(-3.4E-33)
1363}
1364bool(false)
1365
1366-- iteration 12 --
1367array(1) {
1368  [0]=>
1369  NULL
1370}
1371array(1) {
1372  [0]=>
1373  string(10) "2147483648"
1374}
1375array(1) {
1376  [0]=>
1377  NULL
1378}
1379array(1) {
1380  [0]=>
1381  string(11) "34359738369"
1382}
1383array(1) {
1384  [0]=>
1385  string(10) "2147483649"
1386}
1387array(1) {
1388  [0]=>
1389  NULL
1390}
1391array(1) {
1392  [0]=>
1393  string(1) "0"
1394}
1395array(1) {
1396  [0]=>
1397  NULL
1398}
1399array(1) {
1400  [0]=>
1401  string(2) "10"
1402}
1403array(1) {
1404  [0]=>
1405  string(7) "1050000"
1406}
1407array(1) {
1408  [0]=>
1409  string(6) "100000"
1410}
1411array(1) {
1412  [0]=>
1413  NULL
1414}
1415array(1) {
1416  [0]=>
1417  string(1) "1"
1418}
1419array(1) {
1420  [0]=>
1421  NULL
1422}
1423array(1) {
1424  [0]=>
1425  string(6) "100000"
1426}
1427array(1) {
1428  [0]=>
1429  NULL
1430}
1431array(1) {
1432  [0]=>
1433  string(6) "100000"
1434}
1435array(1) {
1436  [0]=>
1437  NULL
1438}
1439array(1) {
1440  [0]=>
1441  string(6) "100000"
1442}
1443array(1) {
1444  [0]=>
1445  NULL
1446}
1447array(1) {
1448  [0]=>
1449  string(1) "1"
1450}
1451array(1) {
1452  [0]=>
1453  NULL
1454}
1455array(1) {
1456  [0]=>
1457  string(7) "5000000"
1458}
1459array(1) {
1460  [0]=>
1461  NULL
1462}
1463array(1) {
1464  [0]=>
1465  string(1) "6"
1466}
1467array(1) {
1468  [0]=>
1469  NULL
1470}
1471array(1) {
1472  [0]=>
1473  string(1) "5"
1474}
1475array(1) {
1476  [0]=>
1477  NULL
1478}
1479array(1) {
1480  [0]=>
1481  string(1) "3"
1482}
1483array(1) {
1484  [0]=>
1485  NULL
1486}
1487bool(false)
1488
1489-- iteration 13 --
1490array(0) {
1491}
1492array(0) {
1493}
1494array(0) {
1495}
1496array(0) {
1497}
1498array(0) {
1499}
1500array(0) {
1501}
1502array(0) {
1503}
1504array(0) {
1505}
1506array(0) {
1507}
1508array(0) {
1509}
1510array(0) {
1511}
1512array(0) {
1513}
1514array(0) {
1515}
1516array(0) {
1517}
1518array(0) {
1519}
1520array(0) {
1521}
1522array(0) {
1523}
1524array(0) {
1525}
1526array(0) {
1527}
1528array(0) {
1529}
1530array(0) {
1531}
1532array(0) {
1533}
1534array(0) {
1535}
1536array(0) {
1537}
1538array(0) {
1539}
1540array(0) {
1541}
1542array(0) {
1543}
1544array(0) {
1545}
1546array(0) {
1547}
1548array(0) {
1549}
1550bool(false)
1551
1552*** Done ***
1553