Create post-HADVAs expect files
[hiphop-php.git] / hphp / test / zend / good / ext / standard / tests / file / fgetcsv_variation15.php.expectf
blob7c7b8213b680723de5e16ce2468cc1a23db3143c
1 *** Testing fgetcsv() : with default enclosure ***
3 -- Testing fgetcsv() with file opened using r mode --
4 varray(2) {
5   string(5) "water"
6   string(5) "fruit"
8 int(12)
9 bool(false)
11 -- Testing fgetcsv() with file opened using rb mode --
12 varray(2) {
13   string(5) "water"
14   string(5) "fruit"
16 int(12)
17 bool(false)
19 -- Testing fgetcsv() with file opened using rt mode --
20 varray(2) {
21   string(5) "water"
22   string(5) "fruit"
24 int(12)
25 bool(false)
27 -- Testing fgetcsv() with file opened using r+ mode --
28 varray(2) {
29   string(5) "water"
30   string(5) "fruit"
32 int(12)
33 bool(false)
35 -- Testing fgetcsv() with file opened using r+b mode --
36 varray(2) {
37   string(5) "water"
38   string(5) "fruit"
40 int(12)
41 bool(false)
43 -- Testing fgetcsv() with file opened using r+t mode --
44 varray(2) {
45   string(5) "water"
46   string(5) "fruit"
48 int(12)
49 bool(false)
51 -- Testing fgetcsv() with file opened using a+ mode --
52 varray(2) {
53   string(5) "water"
54   string(5) "fruit"
56 int(12)
57 bool(false)
59 -- Testing fgetcsv() with file opened using a+b mode --
60 varray(2) {
61   string(5) "water"
62   string(5) "fruit"
64 int(12)
65 bool(false)
67 -- Testing fgetcsv() with file opened using a+t mode --
68 varray(2) {
69   string(5) "water"
70   string(5) "fruit"
72 int(12)
73 bool(false)
75 -- Testing fgetcsv() with file opened using w+ mode --
76 varray(2) {
77   string(5) "water"
78   string(5) "fruit"
80 int(12)
81 bool(false)
83 -- Testing fgetcsv() with file opened using w+b mode --
84 varray(2) {
85   string(5) "water"
86   string(5) "fruit"
88 int(12)
89 bool(false)
91 -- Testing fgetcsv() with file opened using w+t mode --
92 varray(2) {
93   string(5) "water"
94   string(5) "fruit"
96 int(12)
97 bool(false)
99 -- Testing fgetcsv() with file opened using x+ mode --
100 varray(2) {
101   string(5) "water"
102   string(5) "fruit"
104 int(12)
105 bool(false)
107 -- Testing fgetcsv() with file opened using x+b mode --
108 varray(2) {
109   string(5) "water"
110   string(5) "fruit"
112 int(12)
113 bool(false)
115 -- Testing fgetcsv() with file opened using x+t mode --
116 varray(2) {
117   string(5) "water"
118   string(5) "fruit"
120 int(12)
121 bool(false)
123 -- Testing fgetcsv() with file opened using r mode --
124 varray(2) {
125   string(5) "water"
126   string(5) "fruit"
128 int(12)
129 bool(false)
131 -- Testing fgetcsv() with file opened using rb mode --
132 varray(2) {
133   string(5) "water"
134   string(5) "fruit"
136 int(12)
137 bool(false)
139 -- Testing fgetcsv() with file opened using rt mode --
140 varray(2) {
141   string(5) "water"
142   string(5) "fruit"
144 int(12)
145 bool(false)
147 -- Testing fgetcsv() with file opened using r+ mode --
148 varray(2) {
149   string(5) "water"
150   string(5) "fruit"
152 int(12)
153 bool(false)
155 -- Testing fgetcsv() with file opened using r+b mode --
156 varray(2) {
157   string(5) "water"
158   string(5) "fruit"
160 int(12)
161 bool(false)
163 -- Testing fgetcsv() with file opened using r+t mode --
164 varray(2) {
165   string(5) "water"
166   string(5) "fruit"
168 int(12)
169 bool(false)
171 -- Testing fgetcsv() with file opened using a+ mode --
172 varray(2) {
173   string(5) "water"
174   string(5) "fruit"
176 int(12)
177 bool(false)
179 -- Testing fgetcsv() with file opened using a+b mode --
180 varray(2) {
181   string(5) "water"
182   string(5) "fruit"
184 int(12)
185 bool(false)
187 -- Testing fgetcsv() with file opened using a+t mode --
188 varray(2) {
189   string(5) "water"
190   string(5) "fruit"
192 int(12)
193 bool(false)
195 -- Testing fgetcsv() with file opened using w+ mode --
196 varray(2) {
197   string(5) "water"
198   string(5) "fruit"
200 int(12)
201 bool(false)
203 -- Testing fgetcsv() with file opened using w+b mode --
204 varray(2) {
205   string(5) "water"
206   string(5) "fruit"
208 int(12)
209 bool(false)
211 -- Testing fgetcsv() with file opened using w+t mode --
212 varray(2) {
213   string(5) "water"
214   string(5) "fruit"
216 int(12)
217 bool(false)
219 -- Testing fgetcsv() with file opened using x+ mode --
220 varray(2) {
221   string(5) "water"
222   string(5) "fruit"
224 int(12)
225 bool(false)
227 -- Testing fgetcsv() with file opened using x+b mode --
228 varray(2) {
229   string(5) "water"
230   string(5) "fruit"
232 int(12)
233 bool(false)
235 -- Testing fgetcsv() with file opened using x+t mode --
236 varray(2) {
237   string(5) "water"
238   string(5) "fruit"
240 int(12)
241 bool(false)
243 -- Testing fgetcsv() with file opened using r mode --
244 varray(2) {
245   string(5) "water"
246   string(5) "fruit"
248 int(16)
249 bool(false)
251 -- Testing fgetcsv() with file opened using rb mode --
252 varray(2) {
253   string(5) "water"
254   string(5) "fruit"
256 int(16)
257 bool(false)
259 -- Testing fgetcsv() with file opened using rt mode --
260 varray(2) {
261   string(5) "water"
262   string(5) "fruit"
264 int(16)
265 bool(false)
267 -- Testing fgetcsv() with file opened using r+ mode --
268 varray(2) {
269   string(5) "water"
270   string(5) "fruit"
272 int(16)
273 bool(false)
275 -- Testing fgetcsv() with file opened using r+b mode --
276 varray(2) {
277   string(5) "water"
278   string(5) "fruit"
280 int(16)
281 bool(false)
283 -- Testing fgetcsv() with file opened using r+t mode --
284 varray(2) {
285   string(5) "water"
286   string(5) "fruit"
288 int(16)
289 bool(false)
291 -- Testing fgetcsv() with file opened using a+ mode --
292 varray(2) {
293   string(5) "water"
294   string(5) "fruit"
296 int(16)
297 bool(false)
299 -- Testing fgetcsv() with file opened using a+b mode --
300 varray(2) {
301   string(5) "water"
302   string(5) "fruit"
304 int(16)
305 bool(false)
307 -- Testing fgetcsv() with file opened using a+t mode --
308 varray(2) {
309   string(5) "water"
310   string(5) "fruit"
312 int(16)
313 bool(false)
315 -- Testing fgetcsv() with file opened using w+ mode --
316 varray(2) {
317   string(5) "water"
318   string(5) "fruit"
320 int(16)
321 bool(false)
323 -- Testing fgetcsv() with file opened using w+b mode --
324 varray(2) {
325   string(5) "water"
326   string(5) "fruit"
328 int(16)
329 bool(false)
331 -- Testing fgetcsv() with file opened using w+t mode --
332 varray(2) {
333   string(5) "water"
334   string(5) "fruit"
336 int(16)
337 bool(false)
339 -- Testing fgetcsv() with file opened using x+ mode --
340 varray(2) {
341   string(5) "water"
342   string(5) "fruit"
344 int(16)
345 bool(false)
347 -- Testing fgetcsv() with file opened using x+b mode --
348 varray(2) {
349   string(5) "water"
350   string(5) "fruit"
352 int(16)
353 bool(false)
355 -- Testing fgetcsv() with file opened using x+t mode --
356 varray(2) {
357   string(5) "water"
358   string(5) "fruit"
360 int(16)
361 bool(false)
363 -- Testing fgetcsv() with file opened using r mode --
364 varray(3) {
365   string(5) "water"
366   string(5) "fruit"
367   string(3) "air"
369 int(20)
370 bool(false)
372 -- Testing fgetcsv() with file opened using rb mode --
373 varray(3) {
374   string(5) "water"
375   string(5) "fruit"
376   string(3) "air"
378 int(20)
379 bool(false)
381 -- Testing fgetcsv() with file opened using rt mode --
382 varray(3) {
383   string(5) "water"
384   string(5) "fruit"
385   string(3) "air"
387 int(20)
388 bool(false)
390 -- Testing fgetcsv() with file opened using r+ mode --
391 varray(3) {
392   string(5) "water"
393   string(5) "fruit"
394   string(3) "air"
396 int(20)
397 bool(false)
399 -- Testing fgetcsv() with file opened using r+b mode --
400 varray(3) {
401   string(5) "water"
402   string(5) "fruit"
403   string(3) "air"
405 int(20)
406 bool(false)
408 -- Testing fgetcsv() with file opened using r+t mode --
409 varray(3) {
410   string(5) "water"
411   string(5) "fruit"
412   string(3) "air"
414 int(20)
415 bool(false)
417 -- Testing fgetcsv() with file opened using a+ mode --
418 varray(3) {
419   string(5) "water"
420   string(5) "fruit"
421   string(3) "air"
423 int(20)
424 bool(false)
426 -- Testing fgetcsv() with file opened using a+b mode --
427 varray(3) {
428   string(5) "water"
429   string(5) "fruit"
430   string(3) "air"
432 int(20)
433 bool(false)
435 -- Testing fgetcsv() with file opened using a+t mode --
436 varray(3) {
437   string(5) "water"
438   string(5) "fruit"
439   string(3) "air"
441 int(20)
442 bool(false)
444 -- Testing fgetcsv() with file opened using w+ mode --
445 varray(3) {
446   string(5) "water"
447   string(5) "fruit"
448   string(3) "air"
450 int(20)
451 bool(false)
453 -- Testing fgetcsv() with file opened using w+b mode --
454 varray(3) {
455   string(5) "water"
456   string(5) "fruit"
457   string(3) "air"
459 int(20)
460 bool(false)
462 -- Testing fgetcsv() with file opened using w+t mode --
463 varray(3) {
464   string(5) "water"
465   string(5) "fruit"
466   string(3) "air"
468 int(20)
469 bool(false)
471 -- Testing fgetcsv() with file opened using x+ mode --
472 varray(3) {
473   string(5) "water"
474   string(5) "fruit"
475   string(3) "air"
477 int(20)
478 bool(false)
480 -- Testing fgetcsv() with file opened using x+b mode --
481 varray(3) {
482   string(5) "water"
483   string(5) "fruit"
484   string(3) "air"
486 int(20)
487 bool(false)
489 -- Testing fgetcsv() with file opened using x+t mode --
490 varray(3) {
491   string(5) "water"
492   string(5) "fruit"
493   string(3) "air"
495 int(20)
496 bool(false)
498 -- Testing fgetcsv() with file opened using r mode --
499 varray(3) {
500   string(5) "water"
501   string(5) "fruit"
502   string(43) ""
503 This is line of text without csv fields
507 int(61)
508 bool(true)
510 -- Testing fgetcsv() with file opened using rb mode --
511 varray(3) {
512   string(5) "water"
513   string(5) "fruit"
514   string(43) ""
515 This is line of text without csv fields
519 int(61)
520 bool(true)
522 -- Testing fgetcsv() with file opened using rt mode --
523 varray(3) {
524   string(5) "water"
525   string(5) "fruit"
526   string(43) ""
527 This is line of text without csv fields
531 int(61)
532 bool(true)
534 -- Testing fgetcsv() with file opened using r+ mode --
535 varray(3) {
536   string(5) "water"
537   string(5) "fruit"
538   string(43) ""
539 This is line of text without csv fields
543 int(61)
544 bool(true)
546 -- Testing fgetcsv() with file opened using r+b mode --
547 varray(3) {
548   string(5) "water"
549   string(5) "fruit"
550   string(43) ""
551 This is line of text without csv fields
555 int(61)
556 bool(true)
558 -- Testing fgetcsv() with file opened using r+t mode --
559 varray(3) {
560   string(5) "water"
561   string(5) "fruit"
562   string(43) ""
563 This is line of text without csv fields
567 int(61)
568 bool(true)
570 -- Testing fgetcsv() with file opened using a+ mode --
571 varray(3) {
572   string(5) "water"
573   string(5) "fruit"
574   string(43) ""
575 This is line of text without csv fields
579 int(61)
580 bool(true)
582 -- Testing fgetcsv() with file opened using a+b mode --
583 varray(3) {
584   string(5) "water"
585   string(5) "fruit"
586   string(43) ""
587 This is line of text without csv fields
591 int(61)
592 bool(true)
594 -- Testing fgetcsv() with file opened using a+t mode --
595 varray(3) {
596   string(5) "water"
597   string(5) "fruit"
598   string(43) ""
599 This is line of text without csv fields
603 int(61)
604 bool(true)
606 -- Testing fgetcsv() with file opened using w+ mode --
607 varray(3) {
608   string(5) "water"
609   string(5) "fruit"
610   string(43) ""
611 This is line of text without csv fields
615 int(61)
616 bool(true)
618 -- Testing fgetcsv() with file opened using w+b mode --
619 varray(3) {
620   string(5) "water"
621   string(5) "fruit"
622   string(43) ""
623 This is line of text without csv fields
627 int(61)
628 bool(true)
630 -- Testing fgetcsv() with file opened using w+t mode --
631 varray(3) {
632   string(5) "water"
633   string(5) "fruit"
634   string(43) ""
635 This is line of text without csv fields
639 int(61)
640 bool(true)
642 -- Testing fgetcsv() with file opened using x+ mode --
643 varray(3) {
644   string(5) "water"
645   string(5) "fruit"
646   string(43) ""
647 This is line of text without csv fields
651 int(61)
652 bool(true)
654 -- Testing fgetcsv() with file opened using x+b mode --
655 varray(3) {
656   string(5) "water"
657   string(5) "fruit"
658   string(43) ""
659 This is line of text without csv fields
663 int(61)
664 bool(true)
666 -- Testing fgetcsv() with file opened using x+t mode --
667 varray(3) {
668   string(5) "water"
669   string(5) "fruit"
670   string(43) ""
671 This is line of text without csv fields
675 int(61)
676 bool(true)
677 Done