import zend standard tests
[hiphop-php.git] / hphp / test / zend / bad / ext-standard-file / fgetcsv_variation17.php.expectf
blobe3adf9415cc2b458edcd32c2e7ca808900d81d63
1 *** Testing fgetcsv() : with default enclosure & length less than line size ***
3 -- Testing fgetcsv() with file opened using r mode --
4 array(2) {
5   [0]=>
6   string(5) "water"
7   [1]=>
8   string(3) "fru"
10 int(9)
11 bool(false)
12 array(1) {
13   [0]=>
14   string(2) "it"
16 int(12)
17 bool(false)
19 -- Testing fgetcsv() with file opened using rb mode --
20 array(2) {
21   [0]=>
22   string(5) "water"
23   [1]=>
24   string(3) "fru"
26 int(9)
27 bool(false)
28 array(1) {
29   [0]=>
30   string(2) "it"
32 int(12)
33 bool(false)
35 -- Testing fgetcsv() with file opened using rt mode --
36 array(2) {
37   [0]=>
38   string(5) "water"
39   [1]=>
40   string(3) "fru"
42 int(9)
43 bool(false)
44 array(1) {
45   [0]=>
46   string(2) "it"
48 int(12)
49 bool(false)
51 -- Testing fgetcsv() with file opened using r+ mode --
52 array(2) {
53   [0]=>
54   string(5) "water"
55   [1]=>
56   string(3) "fru"
58 int(9)
59 bool(false)
60 array(1) {
61   [0]=>
62   string(2) "it"
64 int(12)
65 bool(false)
67 -- Testing fgetcsv() with file opened using r+b mode --
68 array(2) {
69   [0]=>
70   string(5) "water"
71   [1]=>
72   string(3) "fru"
74 int(9)
75 bool(false)
76 array(1) {
77   [0]=>
78   string(2) "it"
80 int(12)
81 bool(false)
83 -- Testing fgetcsv() with file opened using r+t mode --
84 array(2) {
85   [0]=>
86   string(5) "water"
87   [1]=>
88   string(3) "fru"
90 int(9)
91 bool(false)
92 array(1) {
93   [0]=>
94   string(2) "it"
96 int(12)
97 bool(false)
99 -- Testing fgetcsv() with file opened using a+ mode --
100 array(2) {
101   [0]=>
102   string(5) "water"
103   [1]=>
104   string(3) "fru"
106 int(9)
107 bool(false)
108 array(1) {
109   [0]=>
110   string(2) "it"
112 int(12)
113 bool(false)
115 -- Testing fgetcsv() with file opened using a+b mode --
116 array(2) {
117   [0]=>
118   string(5) "water"
119   [1]=>
120   string(3) "fru"
122 int(9)
123 bool(false)
124 array(1) {
125   [0]=>
126   string(2) "it"
128 int(12)
129 bool(false)
131 -- Testing fgetcsv() with file opened using a+t mode --
132 array(2) {
133   [0]=>
134   string(5) "water"
135   [1]=>
136   string(3) "fru"
138 int(9)
139 bool(false)
140 array(1) {
141   [0]=>
142   string(2) "it"
144 int(12)
145 bool(false)
147 -- Testing fgetcsv() with file opened using w+ mode --
148 array(2) {
149   [0]=>
150   string(5) "water"
151   [1]=>
152   string(3) "fru"
154 int(9)
155 bool(false)
156 array(1) {
157   [0]=>
158   string(2) "it"
160 int(12)
161 bool(false)
163 -- Testing fgetcsv() with file opened using w+b mode --
164 array(2) {
165   [0]=>
166   string(5) "water"
167   [1]=>
168   string(3) "fru"
170 int(9)
171 bool(false)
172 array(1) {
173   [0]=>
174   string(2) "it"
176 int(12)
177 bool(false)
179 -- Testing fgetcsv() with file opened using w+t mode --
180 array(2) {
181   [0]=>
182   string(5) "water"
183   [1]=>
184   string(3) "fru"
186 int(9)
187 bool(false)
188 array(1) {
189   [0]=>
190   string(2) "it"
192 int(12)
193 bool(false)
195 -- Testing fgetcsv() with file opened using x+ mode --
196 array(2) {
197   [0]=>
198   string(5) "water"
199   [1]=>
200   string(3) "fru"
202 int(9)
203 bool(false)
204 array(1) {
205   [0]=>
206   string(2) "it"
208 int(12)
209 bool(false)
211 -- Testing fgetcsv() with file opened using x+b mode --
212 array(2) {
213   [0]=>
214   string(5) "water"
215   [1]=>
216   string(3) "fru"
218 int(9)
219 bool(false)
220 array(1) {
221   [0]=>
222   string(2) "it"
224 int(12)
225 bool(false)
227 -- Testing fgetcsv() with file opened using x+t mode --
228 array(2) {
229   [0]=>
230   string(5) "water"
231   [1]=>
232   string(3) "fru"
234 int(9)
235 bool(false)
236 array(1) {
237   [0]=>
238   string(2) "it"
240 int(12)
241 bool(false)
243 -- Testing fgetcsv() with file opened using r mode --
244 array(2) {
245   [0]=>
246   string(5) "water"
247   [1]=>
248   string(3) "fru"
250 int(9)
251 bool(false)
252 array(1) {
253   [0]=>
254   string(2) "it"
256 int(12)
257 bool(false)
259 -- Testing fgetcsv() with file opened using rb mode --
260 array(2) {
261   [0]=>
262   string(5) "water"
263   [1]=>
264   string(3) "fru"
266 int(9)
267 bool(false)
268 array(1) {
269   [0]=>
270   string(2) "it"
272 int(12)
273 bool(false)
275 -- Testing fgetcsv() with file opened using rt mode --
276 array(2) {
277   [0]=>
278   string(5) "water"
279   [1]=>
280   string(3) "fru"
282 int(9)
283 bool(false)
284 array(1) {
285   [0]=>
286   string(2) "it"
288 int(12)
289 bool(false)
291 -- Testing fgetcsv() with file opened using r+ mode --
292 array(2) {
293   [0]=>
294   string(5) "water"
295   [1]=>
296   string(3) "fru"
298 int(9)
299 bool(false)
300 array(1) {
301   [0]=>
302   string(2) "it"
304 int(12)
305 bool(false)
307 -- Testing fgetcsv() with file opened using r+b mode --
308 array(2) {
309   [0]=>
310   string(5) "water"
311   [1]=>
312   string(3) "fru"
314 int(9)
315 bool(false)
316 array(1) {
317   [0]=>
318   string(2) "it"
320 int(12)
321 bool(false)
323 -- Testing fgetcsv() with file opened using r+t mode --
324 array(2) {
325   [0]=>
326   string(5) "water"
327   [1]=>
328   string(3) "fru"
330 int(9)
331 bool(false)
332 array(1) {
333   [0]=>
334   string(2) "it"
336 int(12)
337 bool(false)
339 -- Testing fgetcsv() with file opened using a+ mode --
340 array(2) {
341   [0]=>
342   string(5) "water"
343   [1]=>
344   string(3) "fru"
346 int(9)
347 bool(false)
348 array(1) {
349   [0]=>
350   string(2) "it"
352 int(12)
353 bool(false)
355 -- Testing fgetcsv() with file opened using a+b mode --
356 array(2) {
357   [0]=>
358   string(5) "water"
359   [1]=>
360   string(3) "fru"
362 int(9)
363 bool(false)
364 array(1) {
365   [0]=>
366   string(2) "it"
368 int(12)
369 bool(false)
371 -- Testing fgetcsv() with file opened using a+t mode --
372 array(2) {
373   [0]=>
374   string(5) "water"
375   [1]=>
376   string(3) "fru"
378 int(9)
379 bool(false)
380 array(1) {
381   [0]=>
382   string(2) "it"
384 int(12)
385 bool(false)
387 -- Testing fgetcsv() with file opened using w+ mode --
388 array(2) {
389   [0]=>
390   string(5) "water"
391   [1]=>
392   string(3) "fru"
394 int(9)
395 bool(false)
396 array(1) {
397   [0]=>
398   string(2) "it"
400 int(12)
401 bool(false)
403 -- Testing fgetcsv() with file opened using w+b mode --
404 array(2) {
405   [0]=>
406   string(5) "water"
407   [1]=>
408   string(3) "fru"
410 int(9)
411 bool(false)
412 array(1) {
413   [0]=>
414   string(2) "it"
416 int(12)
417 bool(false)
419 -- Testing fgetcsv() with file opened using w+t mode --
420 array(2) {
421   [0]=>
422   string(5) "water"
423   [1]=>
424   string(3) "fru"
426 int(9)
427 bool(false)
428 array(1) {
429   [0]=>
430   string(2) "it"
432 int(12)
433 bool(false)
435 -- Testing fgetcsv() with file opened using x+ mode --
436 array(2) {
437   [0]=>
438   string(5) "water"
439   [1]=>
440   string(3) "fru"
442 int(9)
443 bool(false)
444 array(1) {
445   [0]=>
446   string(2) "it"
448 int(12)
449 bool(false)
451 -- Testing fgetcsv() with file opened using x+b mode --
452 array(2) {
453   [0]=>
454   string(5) "water"
455   [1]=>
456   string(3) "fru"
458 int(9)
459 bool(false)
460 array(1) {
461   [0]=>
462   string(2) "it"
464 int(12)
465 bool(false)
467 -- Testing fgetcsv() with file opened using x+t mode --
468 array(2) {
469   [0]=>
470   string(5) "water"
471   [1]=>
472   string(3) "fru"
474 int(9)
475 bool(false)
476 array(1) {
477   [0]=>
478   string(2) "it"
480 int(12)
481 bool(false)
483 -- Testing fgetcsv() with file opened using r mode --
484 array(2) {
485   [0]=>
486   string(5) "water"
487   [1]=>
488   string(5) "fruit"
490 int(16)
491 bool(false)
492 array(8) {
493   [0]=>
494   string(4) "This"
495   [1]=>
496   string(2) "is"
497   [2]=>
498   string(4) "line"
499   [3]=>
500   string(2) "of"
501   [4]=>
502   string(4) "text"
503   [5]=>
504   string(7) "without"
505   [6]=>
506   string(3) "csv"
507   [7]=>
508   string(6) "fields"
510 int(56)
511 bool(false)
513 -- Testing fgetcsv() with file opened using rb mode --
514 array(2) {
515   [0]=>
516   string(5) "water"
517   [1]=>
518   string(5) "fruit"
520 int(16)
521 bool(false)
522 array(8) {
523   [0]=>
524   string(4) "This"
525   [1]=>
526   string(2) "is"
527   [2]=>
528   string(4) "line"
529   [3]=>
530   string(2) "of"
531   [4]=>
532   string(4) "text"
533   [5]=>
534   string(7) "without"
535   [6]=>
536   string(3) "csv"
537   [7]=>
538   string(6) "fields"
540 int(56)
541 bool(false)
543 -- Testing fgetcsv() with file opened using rt mode --
544 array(2) {
545   [0]=>
546   string(5) "water"
547   [1]=>
548   string(5) "fruit"
550 int(16)
551 bool(false)
552 array(8) {
553   [0]=>
554   string(4) "This"
555   [1]=>
556   string(2) "is"
557   [2]=>
558   string(4) "line"
559   [3]=>
560   string(2) "of"
561   [4]=>
562   string(4) "text"
563   [5]=>
564   string(7) "without"
565   [6]=>
566   string(3) "csv"
567   [7]=>
568   string(6) "fields"
570 int(56)
571 bool(false)
573 -- Testing fgetcsv() with file opened using r+ mode --
574 array(2) {
575   [0]=>
576   string(5) "water"
577   [1]=>
578   string(5) "fruit"
580 int(16)
581 bool(false)
582 array(8) {
583   [0]=>
584   string(4) "This"
585   [1]=>
586   string(2) "is"
587   [2]=>
588   string(4) "line"
589   [3]=>
590   string(2) "of"
591   [4]=>
592   string(4) "text"
593   [5]=>
594   string(7) "without"
595   [6]=>
596   string(3) "csv"
597   [7]=>
598   string(6) "fields"
600 int(56)
601 bool(false)
603 -- Testing fgetcsv() with file opened using r+b mode --
604 array(2) {
605   [0]=>
606   string(5) "water"
607   [1]=>
608   string(5) "fruit"
610 int(16)
611 bool(false)
612 array(8) {
613   [0]=>
614   string(4) "This"
615   [1]=>
616   string(2) "is"
617   [2]=>
618   string(4) "line"
619   [3]=>
620   string(2) "of"
621   [4]=>
622   string(4) "text"
623   [5]=>
624   string(7) "without"
625   [6]=>
626   string(3) "csv"
627   [7]=>
628   string(6) "fields"
630 int(56)
631 bool(false)
633 -- Testing fgetcsv() with file opened using r+t mode --
634 array(2) {
635   [0]=>
636   string(5) "water"
637   [1]=>
638   string(5) "fruit"
640 int(16)
641 bool(false)
642 array(8) {
643   [0]=>
644   string(4) "This"
645   [1]=>
646   string(2) "is"
647   [2]=>
648   string(4) "line"
649   [3]=>
650   string(2) "of"
651   [4]=>
652   string(4) "text"
653   [5]=>
654   string(7) "without"
655   [6]=>
656   string(3) "csv"
657   [7]=>
658   string(6) "fields"
660 int(56)
661 bool(false)
663 -- Testing fgetcsv() with file opened using a+ mode --
664 array(2) {
665   [0]=>
666   string(5) "water"
667   [1]=>
668   string(5) "fruit"
670 int(16)
671 bool(false)
672 array(8) {
673   [0]=>
674   string(4) "This"
675   [1]=>
676   string(2) "is"
677   [2]=>
678   string(4) "line"
679   [3]=>
680   string(2) "of"
681   [4]=>
682   string(4) "text"
683   [5]=>
684   string(7) "without"
685   [6]=>
686   string(3) "csv"
687   [7]=>
688   string(6) "fields"
690 int(56)
691 bool(false)
693 -- Testing fgetcsv() with file opened using a+b mode --
694 array(2) {
695   [0]=>
696   string(5) "water"
697   [1]=>
698   string(5) "fruit"
700 int(16)
701 bool(false)
702 array(8) {
703   [0]=>
704   string(4) "This"
705   [1]=>
706   string(2) "is"
707   [2]=>
708   string(4) "line"
709   [3]=>
710   string(2) "of"
711   [4]=>
712   string(4) "text"
713   [5]=>
714   string(7) "without"
715   [6]=>
716   string(3) "csv"
717   [7]=>
718   string(6) "fields"
720 int(56)
721 bool(false)
723 -- Testing fgetcsv() with file opened using a+t mode --
724 array(2) {
725   [0]=>
726   string(5) "water"
727   [1]=>
728   string(5) "fruit"
730 int(16)
731 bool(false)
732 array(8) {
733   [0]=>
734   string(4) "This"
735   [1]=>
736   string(2) "is"
737   [2]=>
738   string(4) "line"
739   [3]=>
740   string(2) "of"
741   [4]=>
742   string(4) "text"
743   [5]=>
744   string(7) "without"
745   [6]=>
746   string(3) "csv"
747   [7]=>
748   string(6) "fields"
750 int(56)
751 bool(false)
753 -- Testing fgetcsv() with file opened using w+ mode --
754 array(2) {
755   [0]=>
756   string(5) "water"
757   [1]=>
758   string(5) "fruit"
760 int(16)
761 bool(false)
762 array(8) {
763   [0]=>
764   string(4) "This"
765   [1]=>
766   string(2) "is"
767   [2]=>
768   string(4) "line"
769   [3]=>
770   string(2) "of"
771   [4]=>
772   string(4) "text"
773   [5]=>
774   string(7) "without"
775   [6]=>
776   string(3) "csv"
777   [7]=>
778   string(6) "fields"
780 int(56)
781 bool(false)
783 -- Testing fgetcsv() with file opened using w+b mode --
784 array(2) {
785   [0]=>
786   string(5) "water"
787   [1]=>
788   string(5) "fruit"
790 int(16)
791 bool(false)
792 array(8) {
793   [0]=>
794   string(4) "This"
795   [1]=>
796   string(2) "is"
797   [2]=>
798   string(4) "line"
799   [3]=>
800   string(2) "of"
801   [4]=>
802   string(4) "text"
803   [5]=>
804   string(7) "without"
805   [6]=>
806   string(3) "csv"
807   [7]=>
808   string(6) "fields"
810 int(56)
811 bool(false)
813 -- Testing fgetcsv() with file opened using w+t mode --
814 array(2) {
815   [0]=>
816   string(5) "water"
817   [1]=>
818   string(5) "fruit"
820 int(16)
821 bool(false)
822 array(8) {
823   [0]=>
824   string(4) "This"
825   [1]=>
826   string(2) "is"
827   [2]=>
828   string(4) "line"
829   [3]=>
830   string(2) "of"
831   [4]=>
832   string(4) "text"
833   [5]=>
834   string(7) "without"
835   [6]=>
836   string(3) "csv"
837   [7]=>
838   string(6) "fields"
840 int(56)
841 bool(false)
843 -- Testing fgetcsv() with file opened using x+ mode --
844 array(2) {
845   [0]=>
846   string(5) "water"
847   [1]=>
848   string(5) "fruit"
850 int(16)
851 bool(false)
852 array(8) {
853   [0]=>
854   string(4) "This"
855   [1]=>
856   string(2) "is"
857   [2]=>
858   string(4) "line"
859   [3]=>
860   string(2) "of"
861   [4]=>
862   string(4) "text"
863   [5]=>
864   string(7) "without"
865   [6]=>
866   string(3) "csv"
867   [7]=>
868   string(6) "fields"
870 int(56)
871 bool(false)
873 -- Testing fgetcsv() with file opened using x+b mode --
874 array(2) {
875   [0]=>
876   string(5) "water"
877   [1]=>
878   string(5) "fruit"
880 int(16)
881 bool(false)
882 array(8) {
883   [0]=>
884   string(4) "This"
885   [1]=>
886   string(2) "is"
887   [2]=>
888   string(4) "line"
889   [3]=>
890   string(2) "of"
891   [4]=>
892   string(4) "text"
893   [5]=>
894   string(7) "without"
895   [6]=>
896   string(3) "csv"
897   [7]=>
898   string(6) "fields"
900 int(56)
901 bool(false)
903 -- Testing fgetcsv() with file opened using x+t mode --
904 array(2) {
905   [0]=>
906   string(5) "water"
907   [1]=>
908   string(5) "fruit"
910 int(16)
911 bool(false)
912 array(8) {
913   [0]=>
914   string(4) "This"
915   [1]=>
916   string(2) "is"
917   [2]=>
918   string(4) "line"
919   [3]=>
920   string(2) "of"
921   [4]=>
922   string(4) "text"
923   [5]=>
924   string(7) "without"
925   [6]=>
926   string(3) "csv"
927   [7]=>
928   string(6) "fields"
930 int(56)
931 bool(false)
933 -- Testing fgetcsv() with file opened using r mode --
934 array(3) {
935   [0]=>
936   string(5) "water"
937   [1]=>
938   string(5) "fruit"
939   [2]=>
940   string(3) "air"
942 int(20)
943 bool(false)
944 array(1) {
945   [0]=>
946   string(39) "This is line of text without csv fields"
948 int(60)
949 bool(false)
951 -- Testing fgetcsv() with file opened using rb mode --
952 array(3) {
953   [0]=>
954   string(5) "water"
955   [1]=>
956   string(5) "fruit"
957   [2]=>
958   string(3) "air"
960 int(20)
961 bool(false)
962 array(1) {
963   [0]=>
964   string(39) "This is line of text without csv fields"
966 int(60)
967 bool(false)
969 -- Testing fgetcsv() with file opened using rt mode --
970 array(3) {
971   [0]=>
972   string(5) "water"
973   [1]=>
974   string(5) "fruit"
975   [2]=>
976   string(3) "air"
978 int(20)
979 bool(false)
980 array(1) {
981   [0]=>
982   string(39) "This is line of text without csv fields"
984 int(60)
985 bool(false)
987 -- Testing fgetcsv() with file opened using r+ mode --
988 array(3) {
989   [0]=>
990   string(5) "water"
991   [1]=>
992   string(5) "fruit"
993   [2]=>
994   string(3) "air"
996 int(20)
997 bool(false)
998 array(1) {
999   [0]=>
1000   string(39) "This is line of text without csv fields"
1002 int(60)
1003 bool(false)
1005 -- Testing fgetcsv() with file opened using r+b mode --
1006 array(3) {
1007   [0]=>
1008   string(5) "water"
1009   [1]=>
1010   string(5) "fruit"
1011   [2]=>
1012   string(3) "air"
1014 int(20)
1015 bool(false)
1016 array(1) {
1017   [0]=>
1018   string(39) "This is line of text without csv fields"
1020 int(60)
1021 bool(false)
1023 -- Testing fgetcsv() with file opened using r+t mode --
1024 array(3) {
1025   [0]=>
1026   string(5) "water"
1027   [1]=>
1028   string(5) "fruit"
1029   [2]=>
1030   string(3) "air"
1032 int(20)
1033 bool(false)
1034 array(1) {
1035   [0]=>
1036   string(39) "This is line of text without csv fields"
1038 int(60)
1039 bool(false)
1041 -- Testing fgetcsv() with file opened using a+ mode --
1042 array(3) {
1043   [0]=>
1044   string(5) "water"
1045   [1]=>
1046   string(5) "fruit"
1047   [2]=>
1048   string(3) "air"
1050 int(20)
1051 bool(false)
1052 array(1) {
1053   [0]=>
1054   string(39) "This is line of text without csv fields"
1056 int(60)
1057 bool(false)
1059 -- Testing fgetcsv() with file opened using a+b mode --
1060 array(3) {
1061   [0]=>
1062   string(5) "water"
1063   [1]=>
1064   string(5) "fruit"
1065   [2]=>
1066   string(3) "air"
1068 int(20)
1069 bool(false)
1070 array(1) {
1071   [0]=>
1072   string(39) "This is line of text without csv fields"
1074 int(60)
1075 bool(false)
1077 -- Testing fgetcsv() with file opened using a+t mode --
1078 array(3) {
1079   [0]=>
1080   string(5) "water"
1081   [1]=>
1082   string(5) "fruit"
1083   [2]=>
1084   string(3) "air"
1086 int(20)
1087 bool(false)
1088 array(1) {
1089   [0]=>
1090   string(39) "This is line of text without csv fields"
1092 int(60)
1093 bool(false)
1095 -- Testing fgetcsv() with file opened using w+ mode --
1096 array(3) {
1097   [0]=>
1098   string(5) "water"
1099   [1]=>
1100   string(5) "fruit"
1101   [2]=>
1102   string(3) "air"
1104 int(20)
1105 bool(false)
1106 array(1) {
1107   [0]=>
1108   string(39) "This is line of text without csv fields"
1110 int(60)
1111 bool(false)
1113 -- Testing fgetcsv() with file opened using w+b mode --
1114 array(3) {
1115   [0]=>
1116   string(5) "water"
1117   [1]=>
1118   string(5) "fruit"
1119   [2]=>
1120   string(3) "air"
1122 int(20)
1123 bool(false)
1124 array(1) {
1125   [0]=>
1126   string(39) "This is line of text without csv fields"
1128 int(60)
1129 bool(false)
1131 -- Testing fgetcsv() with file opened using w+t mode --
1132 array(3) {
1133   [0]=>
1134   string(5) "water"
1135   [1]=>
1136   string(5) "fruit"
1137   [2]=>
1138   string(3) "air"
1140 int(20)
1141 bool(false)
1142 array(1) {
1143   [0]=>
1144   string(39) "This is line of text without csv fields"
1146 int(60)
1147 bool(false)
1149 -- Testing fgetcsv() with file opened using x+ mode --
1150 array(3) {
1151   [0]=>
1152   string(5) "water"
1153   [1]=>
1154   string(5) "fruit"
1155   [2]=>
1156   string(3) "air"
1158 int(20)
1159 bool(false)
1160 array(1) {
1161   [0]=>
1162   string(39) "This is line of text without csv fields"
1164 int(60)
1165 bool(false)
1167 -- Testing fgetcsv() with file opened using x+b mode --
1168 array(3) {
1169   [0]=>
1170   string(5) "water"
1171   [1]=>
1172   string(5) "fruit"
1173   [2]=>
1174   string(3) "air"
1176 int(20)
1177 bool(false)
1178 array(1) {
1179   [0]=>
1180   string(39) "This is line of text without csv fields"
1182 int(60)
1183 bool(false)
1185 -- Testing fgetcsv() with file opened using x+t mode --
1186 array(3) {
1187   [0]=>
1188   string(5) "water"
1189   [1]=>
1190   string(5) "fruit"
1191   [2]=>
1192   string(3) "air"
1194 int(20)
1195 bool(false)
1196 array(1) {
1197   [0]=>
1198   string(39) "This is line of text without csv fields"
1200 int(60)
1201 bool(false)
1203 -- Testing fgetcsv() with file opened using r mode --
1204 array(3) {
1205   [0]=>
1206   string(5) "water"
1207   [1]=>
1208   string(5) "fruit"
1209   [2]=>
1210   string(43) ""
1211 This is line of text without csv fields
1215 int(61)
1216 bool(true)
1217 bool(false)
1218 int(61)
1219 bool(true)
1221 -- Testing fgetcsv() with file opened using rb mode --
1222 array(3) {
1223   [0]=>
1224   string(5) "water"
1225   [1]=>
1226   string(5) "fruit"
1227   [2]=>
1228   string(43) ""
1229 This is line of text without csv fields
1233 int(61)
1234 bool(true)
1235 bool(false)
1236 int(61)
1237 bool(true)
1239 -- Testing fgetcsv() with file opened using rt mode --
1240 array(3) {
1241   [0]=>
1242   string(5) "water"
1243   [1]=>
1244   string(5) "fruit"
1245   [2]=>
1246   string(43) ""
1247 This is line of text without csv fields
1251 int(61)
1252 bool(true)
1253 bool(false)
1254 int(61)
1255 bool(true)
1257 -- Testing fgetcsv() with file opened using r+ mode --
1258 array(3) {
1259   [0]=>
1260   string(5) "water"
1261   [1]=>
1262   string(5) "fruit"
1263   [2]=>
1264   string(43) ""
1265 This is line of text without csv fields
1269 int(61)
1270 bool(true)
1271 bool(false)
1272 int(61)
1273 bool(true)
1275 -- Testing fgetcsv() with file opened using r+b mode --
1276 array(3) {
1277   [0]=>
1278   string(5) "water"
1279   [1]=>
1280   string(5) "fruit"
1281   [2]=>
1282   string(43) ""
1283 This is line of text without csv fields
1287 int(61)
1288 bool(true)
1289 bool(false)
1290 int(61)
1291 bool(true)
1293 -- Testing fgetcsv() with file opened using r+t mode --
1294 array(3) {
1295   [0]=>
1296   string(5) "water"
1297   [1]=>
1298   string(5) "fruit"
1299   [2]=>
1300   string(43) ""
1301 This is line of text without csv fields
1305 int(61)
1306 bool(true)
1307 bool(false)
1308 int(61)
1309 bool(true)
1311 -- Testing fgetcsv() with file opened using a+ mode --
1312 array(3) {
1313   [0]=>
1314   string(5) "water"
1315   [1]=>
1316   string(5) "fruit"
1317   [2]=>
1318   string(43) ""
1319 This is line of text without csv fields
1323 int(61)
1324 bool(true)
1325 bool(false)
1326 int(61)
1327 bool(true)
1329 -- Testing fgetcsv() with file opened using a+b mode --
1330 array(3) {
1331   [0]=>
1332   string(5) "water"
1333   [1]=>
1334   string(5) "fruit"
1335   [2]=>
1336   string(43) ""
1337 This is line of text without csv fields
1341 int(61)
1342 bool(true)
1343 bool(false)
1344 int(61)
1345 bool(true)
1347 -- Testing fgetcsv() with file opened using a+t mode --
1348 array(3) {
1349   [0]=>
1350   string(5) "water"
1351   [1]=>
1352   string(5) "fruit"
1353   [2]=>
1354   string(43) ""
1355 This is line of text without csv fields
1359 int(61)
1360 bool(true)
1361 bool(false)
1362 int(61)
1363 bool(true)
1365 -- Testing fgetcsv() with file opened using w+ mode --
1366 array(3) {
1367   [0]=>
1368   string(5) "water"
1369   [1]=>
1370   string(5) "fruit"
1371   [2]=>
1372   string(43) ""
1373 This is line of text without csv fields
1377 int(61)
1378 bool(true)
1379 bool(false)
1380 int(61)
1381 bool(true)
1383 -- Testing fgetcsv() with file opened using w+b mode --
1384 array(3) {
1385   [0]=>
1386   string(5) "water"
1387   [1]=>
1388   string(5) "fruit"
1389   [2]=>
1390   string(43) ""
1391 This is line of text without csv fields
1395 int(61)
1396 bool(true)
1397 bool(false)
1398 int(61)
1399 bool(true)
1401 -- Testing fgetcsv() with file opened using w+t mode --
1402 array(3) {
1403   [0]=>
1404   string(5) "water"
1405   [1]=>
1406   string(5) "fruit"
1407   [2]=>
1408   string(43) ""
1409 This is line of text without csv fields
1413 int(61)
1414 bool(true)
1415 bool(false)
1416 int(61)
1417 bool(true)
1419 -- Testing fgetcsv() with file opened using x+ mode --
1420 array(3) {
1421   [0]=>
1422   string(5) "water"
1423   [1]=>
1424   string(5) "fruit"
1425   [2]=>
1426   string(43) ""
1427 This is line of text without csv fields
1431 int(61)
1432 bool(true)
1433 bool(false)
1434 int(61)
1435 bool(true)
1437 -- Testing fgetcsv() with file opened using x+b mode --
1438 array(3) {
1439   [0]=>
1440   string(5) "water"
1441   [1]=>
1442   string(5) "fruit"
1443   [2]=>
1444   string(43) ""
1445 This is line of text without csv fields
1449 int(61)
1450 bool(true)
1451 bool(false)
1452 int(61)
1453 bool(true)
1455 -- Testing fgetcsv() with file opened using x+t mode --
1456 array(3) {
1457   [0]=>
1458   string(5) "water"
1459   [1]=>
1460   string(5) "fruit"
1461   [2]=>
1462   string(43) ""
1463 This is line of text without csv fields
1467 int(61)
1468 bool(true)
1469 bool(false)
1470 int(61)
1471 bool(true)
1472 Done