Annotation of embedaddon/php/ext/standard/tests/file/fputcsv_variation9.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: Test fputcsv() : usage variations - two chars as enclosure & delimiter
3: --FILE--
4: <?php
5: /*
6: Prototype: array fputcsv ( resource $handle , array $fields [, string $delimiter [, string $enclosure]]] );
7: Description: Format line as CSV and write to the file pointer
8: */
9:
10:
11: /* Testing fputcsv() to write to a file when delimiter and enclosure are of two chars each */
12:
13: echo "*** Testing fputcsv() : with two chars as enclosure & delimiter ***\n";
14:
15: /* the array is with three elements in it. Each element should be read as
16: 1st element is delimiter, 2nd element is enclosure
17: and 3rd element is csv fields
18: */
19: $csv_lists = array (
20: array(',', '"', array('water,fruit') ),
21: array(',', '"', array('"water","fruit') ),
22: array(',', '"', array('"water","fruit"') ),
23: array(' ', '^', array('^water^ ^fruit^')),
24: array(':', '&', array('&water&:&fruit&')),
25: array('=', '=', array('=water===fruit=')),
26: array('-', '-', array('-water--fruit-air')),
27: array('-', '-', array('-water---fruit---air-')),
28: array(':', '&', array('&""""&:&"&:,:":&,&:,,,,'))
29:
30: );
31: $file_path = dirname(__FILE__);
32: $filename = "$file_path/fputcsv_variation9.tmp";
33:
34: $file_modes = array ("r+", "r+b", "r+t",
35: "a+", "a+b", "a+t",
36: "w+", "w+b", "w+t",
37: "x+", "x+b", "x+t");
38:
39: $loop_counter = 1;
40: foreach ($csv_lists as $csv_list) {
41: for($mode_counter = 0; $mode_counter < count($file_modes); $mode_counter++) {
42:
43: echo "\n-- file opened in $file_modes[$mode_counter] --\n";
44: // create the file and add the content with has csv fields
45: if ( strstr($file_modes[$mode_counter], "r") ) {
46: $file_handle = fopen($filename, "w");
47: } else {
48: $file_handle = fopen($filename, $file_modes[$mode_counter] );
49: }
50: if ( !$file_handle ) {
51: echo "Error: failed to create file $filename!\n";
52: exit();
53: }
54: $delimiter = $csv_list[0];
55: $enclosure = $csv_list[1];
56: $csv_field = $csv_list[2];
57:
58: // write to a file in csv format
59: var_dump( fputcsv($file_handle, $csv_field, '++', '%%'
60: ) );
61: // check the file pointer position and eof
62: var_dump( ftell($file_handle) );
63: var_dump( feof($file_handle) );
64: //close the file
65: fclose($file_handle);
66:
67: // print the file contents
68: var_dump( file_get_contents($filename) );
69:
70: //delete file
71: unlink($filename);
72: } //end of mode loop
73: } // end of foreach
74:
75: echo "Done\n";
76: ?>
77: --EXPECTF--
78: *** Testing fputcsv() : with two chars as enclosure & delimiter ***
79:
80: -- file opened in r+ --
81:
82: Notice: fputcsv(): delimiter must be a single character in %s on line %d
83:
84: Notice: fputcsv(): enclosure must be a single character in %s on line %d
85: int(12)
86: int(12)
87: bool(false)
88: string(12) "water,fruit
89: "
90:
91: -- file opened in r+b --
92:
93: Notice: fputcsv(): delimiter must be a single character in %s on line %d
94:
95: Notice: fputcsv(): enclosure must be a single character in %s on line %d
96: int(12)
97: int(12)
98: bool(false)
99: string(12) "water,fruit
100: "
101:
102: -- file opened in r+t --
103:
104: Notice: fputcsv(): delimiter must be a single character in %s on line %d
105:
106: Notice: fputcsv(): enclosure must be a single character in %s on line %d
107: int(12)
108: int(12)
109: bool(false)
110: string(%d) "water,fruit
111: "
112:
113: -- file opened in a+ --
114:
115: Notice: fputcsv(): delimiter must be a single character in %s on line %d
116:
117: Notice: fputcsv(): enclosure must be a single character in %s on line %d
118: int(12)
119: int(12)
120: bool(false)
121: string(12) "water,fruit
122: "
123:
124: -- file opened in a+b --
125:
126: Notice: fputcsv(): delimiter must be a single character in %s on line %d
127:
128: Notice: fputcsv(): enclosure must be a single character in %s on line %d
129: int(12)
130: int(12)
131: bool(false)
132: string(12) "water,fruit
133: "
134:
135: -- file opened in a+t --
136:
137: Notice: fputcsv(): delimiter must be a single character in %s on line %d
138:
139: Notice: fputcsv(): enclosure must be a single character in %s on line %d
140: int(12)
141: int(12)
142: bool(false)
143: string(%d) "water,fruit
144: "
145:
146: -- file opened in w+ --
147:
148: Notice: fputcsv(): delimiter must be a single character in %s on line %d
149:
150: Notice: fputcsv(): enclosure must be a single character in %s on line %d
151: int(12)
152: int(12)
153: bool(false)
154: string(12) "water,fruit
155: "
156:
157: -- file opened in w+b --
158:
159: Notice: fputcsv(): delimiter must be a single character in %s on line %d
160:
161: Notice: fputcsv(): enclosure must be a single character in %s on line %d
162: int(12)
163: int(12)
164: bool(false)
165: string(12) "water,fruit
166: "
167:
168: -- file opened in w+t --
169:
170: Notice: fputcsv(): delimiter must be a single character in %s on line %d
171:
172: Notice: fputcsv(): enclosure must be a single character in %s on line %d
173: int(12)
174: int(12)
175: bool(false)
176: string(%d) "water,fruit
177: "
178:
179: -- file opened in x+ --
180:
181: Notice: fputcsv(): delimiter must be a single character in %s on line %d
182:
183: Notice: fputcsv(): enclosure must be a single character in %s on line %d
184: int(12)
185: int(12)
186: bool(false)
187: string(12) "water,fruit
188: "
189:
190: -- file opened in x+b --
191:
192: Notice: fputcsv(): delimiter must be a single character in %s on line %d
193:
194: Notice: fputcsv(): enclosure must be a single character in %s on line %d
195: int(12)
196: int(12)
197: bool(false)
198: string(12) "water,fruit
199: "
200:
201: -- file opened in x+t --
202:
203: Notice: fputcsv(): delimiter must be a single character in %s on line %d
204:
205: Notice: fputcsv(): enclosure must be a single character in %s on line %d
206: int(12)
207: int(12)
208: bool(false)
209: string(%d) "water,fruit
210: "
211:
212: -- file opened in r+ --
213:
214: Notice: fputcsv(): delimiter must be a single character in %s on line %d
215:
216: Notice: fputcsv(): enclosure must be a single character in %s on line %d
217: int(15)
218: int(15)
219: bool(false)
220: string(15) ""water","fruit
221: "
222:
223: -- file opened in r+b --
224:
225: Notice: fputcsv(): delimiter must be a single character in %s on line %d
226:
227: Notice: fputcsv(): enclosure must be a single character in %s on line %d
228: int(15)
229: int(15)
230: bool(false)
231: string(15) ""water","fruit
232: "
233:
234: -- file opened in r+t --
235:
236: Notice: fputcsv(): delimiter must be a single character in %s on line %d
237:
238: Notice: fputcsv(): enclosure must be a single character in %s on line %d
239: int(15)
240: int(15)
241: bool(false)
242: string(%d) ""water","fruit
243: "
244:
245: -- file opened in a+ --
246:
247: Notice: fputcsv(): delimiter must be a single character in %s on line %d
248:
249: Notice: fputcsv(): enclosure must be a single character in %s on line %d
250: int(15)
251: int(15)
252: bool(false)
253: string(15) ""water","fruit
254: "
255:
256: -- file opened in a+b --
257:
258: Notice: fputcsv(): delimiter must be a single character in %s on line %d
259:
260: Notice: fputcsv(): enclosure must be a single character in %s on line %d
261: int(15)
262: int(15)
263: bool(false)
264: string(15) ""water","fruit
265: "
266:
267: -- file opened in a+t --
268:
269: Notice: fputcsv(): delimiter must be a single character in %s on line %d
270:
271: Notice: fputcsv(): enclosure must be a single character in %s on line %d
272: int(15)
273: int(15)
274: bool(false)
275: string(%d) ""water","fruit
276: "
277:
278: -- file opened in w+ --
279:
280: Notice: fputcsv(): delimiter must be a single character in %s on line %d
281:
282: Notice: fputcsv(): enclosure must be a single character in %s on line %d
283: int(15)
284: int(15)
285: bool(false)
286: string(15) ""water","fruit
287: "
288:
289: -- file opened in w+b --
290:
291: Notice: fputcsv(): delimiter must be a single character in %s on line %d
292:
293: Notice: fputcsv(): enclosure must be a single character in %s on line %d
294: int(15)
295: int(15)
296: bool(false)
297: string(15) ""water","fruit
298: "
299:
300: -- file opened in w+t --
301:
302: Notice: fputcsv(): delimiter must be a single character in %s on line %d
303:
304: Notice: fputcsv(): enclosure must be a single character in %s on line %d
305: int(15)
306: int(15)
307: bool(false)
308: string(%d) ""water","fruit
309: "
310:
311: -- file opened in x+ --
312:
313: Notice: fputcsv(): delimiter must be a single character in %s on line %d
314:
315: Notice: fputcsv(): enclosure must be a single character in %s on line %d
316: int(15)
317: int(15)
318: bool(false)
319: string(15) ""water","fruit
320: "
321:
322: -- file opened in x+b --
323:
324: Notice: fputcsv(): delimiter must be a single character in %s on line %d
325:
326: Notice: fputcsv(): enclosure must be a single character in %s on line %d
327: int(15)
328: int(15)
329: bool(false)
330: string(15) ""water","fruit
331: "
332:
333: -- file opened in x+t --
334:
335: Notice: fputcsv(): delimiter must be a single character in %s on line %d
336:
337: Notice: fputcsv(): enclosure must be a single character in %s on line %d
338: int(15)
339: int(15)
340: bool(false)
341: string(%d) ""water","fruit
342: "
343:
344: -- file opened in r+ --
345:
346: Notice: fputcsv(): delimiter must be a single character in %s on line %d
347:
348: Notice: fputcsv(): enclosure must be a single character in %s on line %d
349: int(16)
350: int(16)
351: bool(false)
352: string(16) ""water","fruit"
353: "
354:
355: -- file opened in r+b --
356:
357: Notice: fputcsv(): delimiter must be a single character in %s on line %d
358:
359: Notice: fputcsv(): enclosure must be a single character in %s on line %d
360: int(16)
361: int(16)
362: bool(false)
363: string(16) ""water","fruit"
364: "
365:
366: -- file opened in r+t --
367:
368: Notice: fputcsv(): delimiter must be a single character in %s on line %d
369:
370: Notice: fputcsv(): enclosure must be a single character in %s on line %d
371: int(16)
372: int(16)
373: bool(false)
374: string(%d) ""water","fruit"
375: "
376:
377: -- file opened in a+ --
378:
379: Notice: fputcsv(): delimiter must be a single character in %s on line %d
380:
381: Notice: fputcsv(): enclosure must be a single character in %s on line %d
382: int(16)
383: int(16)
384: bool(false)
385: string(16) ""water","fruit"
386: "
387:
388: -- file opened in a+b --
389:
390: Notice: fputcsv(): delimiter must be a single character in %s on line %d
391:
392: Notice: fputcsv(): enclosure must be a single character in %s on line %d
393: int(16)
394: int(16)
395: bool(false)
396: string(16) ""water","fruit"
397: "
398:
399: -- file opened in a+t --
400:
401: Notice: fputcsv(): delimiter must be a single character in %s on line %d
402:
403: Notice: fputcsv(): enclosure must be a single character in %s on line %d
404: int(16)
405: int(16)
406: bool(false)
407: string(%d) ""water","fruit"
408: "
409:
410: -- file opened in w+ --
411:
412: Notice: fputcsv(): delimiter must be a single character in %s on line %d
413:
414: Notice: fputcsv(): enclosure must be a single character in %s on line %d
415: int(16)
416: int(16)
417: bool(false)
418: string(16) ""water","fruit"
419: "
420:
421: -- file opened in w+b --
422:
423: Notice: fputcsv(): delimiter must be a single character in %s on line %d
424:
425: Notice: fputcsv(): enclosure must be a single character in %s on line %d
426: int(16)
427: int(16)
428: bool(false)
429: string(16) ""water","fruit"
430: "
431:
432: -- file opened in w+t --
433:
434: Notice: fputcsv(): delimiter must be a single character in %s on line %d
435:
436: Notice: fputcsv(): enclosure must be a single character in %s on line %d
437: int(16)
438: int(16)
439: bool(false)
440: string(%d) ""water","fruit"
441: "
442:
443: -- file opened in x+ --
444:
445: Notice: fputcsv(): delimiter must be a single character in %s on line %d
446:
447: Notice: fputcsv(): enclosure must be a single character in %s on line %d
448: int(16)
449: int(16)
450: bool(false)
451: string(16) ""water","fruit"
452: "
453:
454: -- file opened in x+b --
455:
456: Notice: fputcsv(): delimiter must be a single character in %s on line %d
457:
458: Notice: fputcsv(): enclosure must be a single character in %s on line %d
459: int(16)
460: int(16)
461: bool(false)
462: string(16) ""water","fruit"
463: "
464:
465: -- file opened in x+t --
466:
467: Notice: fputcsv(): delimiter must be a single character in %s on line %d
468:
469: Notice: fputcsv(): enclosure must be a single character in %s on line %d
470: int(16)
471: int(16)
472: bool(false)
473: string(%d) ""water","fruit"
474: "
475:
476: -- file opened in r+ --
477:
478: Notice: fputcsv(): delimiter must be a single character in %s on line %d
479:
480: Notice: fputcsv(): enclosure must be a single character in %s on line %d
481: int(18)
482: int(18)
483: bool(false)
484: string(18) "%^water^ ^fruit^%
485: "
486:
487: -- file opened in r+b --
488:
489: Notice: fputcsv(): delimiter must be a single character in %s on line %d
490:
491: Notice: fputcsv(): enclosure must be a single character in %s on line %d
492: int(18)
493: int(18)
494: bool(false)
495: string(18) "%^water^ ^fruit^%
496: "
497:
498: -- file opened in r+t --
499:
500: Notice: fputcsv(): delimiter must be a single character in %s on line %d
501:
502: Notice: fputcsv(): enclosure must be a single character in %s on line %d
503: int(18)
504: int(18)
505: bool(false)
506: string(%d) "%^water^ ^fruit^%
507: "
508:
509: -- file opened in a+ --
510:
511: Notice: fputcsv(): delimiter must be a single character in %s on line %d
512:
513: Notice: fputcsv(): enclosure must be a single character in %s on line %d
514: int(18)
515: int(18)
516: bool(false)
517: string(18) "%^water^ ^fruit^%
518: "
519:
520: -- file opened in a+b --
521:
522: Notice: fputcsv(): delimiter must be a single character in %s on line %d
523:
524: Notice: fputcsv(): enclosure must be a single character in %s on line %d
525: int(18)
526: int(18)
527: bool(false)
528: string(18) "%^water^ ^fruit^%
529: "
530:
531: -- file opened in a+t --
532:
533: Notice: fputcsv(): delimiter must be a single character in %s on line %d
534:
535: Notice: fputcsv(): enclosure must be a single character in %s on line %d
536: int(18)
537: int(18)
538: bool(false)
539: string(%d) "%^water^ ^fruit^%
540: "
541:
542: -- file opened in w+ --
543:
544: Notice: fputcsv(): delimiter must be a single character in %s on line %d
545:
546: Notice: fputcsv(): enclosure must be a single character in %s on line %d
547: int(18)
548: int(18)
549: bool(false)
550: string(18) "%^water^ ^fruit^%
551: "
552:
553: -- file opened in w+b --
554:
555: Notice: fputcsv(): delimiter must be a single character in %s on line %d
556:
557: Notice: fputcsv(): enclosure must be a single character in %s on line %d
558: int(18)
559: int(18)
560: bool(false)
561: string(18) "%^water^ ^fruit^%
562: "
563:
564: -- file opened in w+t --
565:
566: Notice: fputcsv(): delimiter must be a single character in %s on line %d
567:
568: Notice: fputcsv(): enclosure must be a single character in %s on line %d
569: int(18)
570: int(18)
571: bool(false)
572: string(%d) "%^water^ ^fruit^%
573: "
574:
575: -- file opened in x+ --
576:
577: Notice: fputcsv(): delimiter must be a single character in %s on line %d
578:
579: Notice: fputcsv(): enclosure must be a single character in %s on line %d
580: int(18)
581: int(18)
582: bool(false)
583: string(18) "%^water^ ^fruit^%
584: "
585:
586: -- file opened in x+b --
587:
588: Notice: fputcsv(): delimiter must be a single character in %s on line %d
589:
590: Notice: fputcsv(): enclosure must be a single character in %s on line %d
591: int(18)
592: int(18)
593: bool(false)
594: string(18) "%^water^ ^fruit^%
595: "
596:
597: -- file opened in x+t --
598:
599: Notice: fputcsv(): delimiter must be a single character in %s on line %d
600:
601: Notice: fputcsv(): enclosure must be a single character in %s on line %d
602: int(18)
603: int(18)
604: bool(false)
605: string(%d) "%^water^ ^fruit^%
606: "
607:
608: -- file opened in r+ --
609:
610: Notice: fputcsv(): delimiter must be a single character in %s on line %d
611:
612: Notice: fputcsv(): enclosure must be a single character in %s on line %d
613: int(16)
614: int(16)
615: bool(false)
616: string(16) "&water&:&fruit&
617: "
618:
619: -- file opened in r+b --
620:
621: Notice: fputcsv(): delimiter must be a single character in %s on line %d
622:
623: Notice: fputcsv(): enclosure must be a single character in %s on line %d
624: int(16)
625: int(16)
626: bool(false)
627: string(16) "&water&:&fruit&
628: "
629:
630: -- file opened in r+t --
631:
632: Notice: fputcsv(): delimiter must be a single character in %s on line %d
633:
634: Notice: fputcsv(): enclosure must be a single character in %s on line %d
635: int(16)
636: int(16)
637: bool(false)
638: string(%d) "&water&:&fruit&
639: "
640:
641: -- file opened in a+ --
642:
643: Notice: fputcsv(): delimiter must be a single character in %s on line %d
644:
645: Notice: fputcsv(): enclosure must be a single character in %s on line %d
646: int(16)
647: int(16)
648: bool(false)
649: string(16) "&water&:&fruit&
650: "
651:
652: -- file opened in a+b --
653:
654: Notice: fputcsv(): delimiter must be a single character in %s on line %d
655:
656: Notice: fputcsv(): enclosure must be a single character in %s on line %d
657: int(16)
658: int(16)
659: bool(false)
660: string(16) "&water&:&fruit&
661: "
662:
663: -- file opened in a+t --
664:
665: Notice: fputcsv(): delimiter must be a single character in %s on line %d
666:
667: Notice: fputcsv(): enclosure must be a single character in %s on line %d
668: int(16)
669: int(16)
670: bool(false)
671: string(%d) "&water&:&fruit&
672: "
673:
674: -- file opened in w+ --
675:
676: Notice: fputcsv(): delimiter must be a single character in %s on line %d
677:
678: Notice: fputcsv(): enclosure must be a single character in %s on line %d
679: int(16)
680: int(16)
681: bool(false)
682: string(16) "&water&:&fruit&
683: "
684:
685: -- file opened in w+b --
686:
687: Notice: fputcsv(): delimiter must be a single character in %s on line %d
688:
689: Notice: fputcsv(): enclosure must be a single character in %s on line %d
690: int(16)
691: int(16)
692: bool(false)
693: string(16) "&water&:&fruit&
694: "
695:
696: -- file opened in w+t --
697:
698: Notice: fputcsv(): delimiter must be a single character in %s on line %d
699:
700: Notice: fputcsv(): enclosure must be a single character in %s on line %d
701: int(16)
702: int(16)
703: bool(false)
704: string(%d) "&water&:&fruit&
705: "
706:
707: -- file opened in x+ --
708:
709: Notice: fputcsv(): delimiter must be a single character in %s on line %d
710:
711: Notice: fputcsv(): enclosure must be a single character in %s on line %d
712: int(16)
713: int(16)
714: bool(false)
715: string(16) "&water&:&fruit&
716: "
717:
718: -- file opened in x+b --
719:
720: Notice: fputcsv(): delimiter must be a single character in %s on line %d
721:
722: Notice: fputcsv(): enclosure must be a single character in %s on line %d
723: int(16)
724: int(16)
725: bool(false)
726: string(16) "&water&:&fruit&
727: "
728:
729: -- file opened in x+t --
730:
731: Notice: fputcsv(): delimiter must be a single character in %s on line %d
732:
733: Notice: fputcsv(): enclosure must be a single character in %s on line %d
734: int(16)
735: int(16)
736: bool(false)
737: string(%d) "&water&:&fruit&
738: "
739:
740: -- file opened in r+ --
741:
742: Notice: fputcsv(): delimiter must be a single character in %s on line %d
743:
744: Notice: fputcsv(): enclosure must be a single character in %s on line %d
745: int(16)
746: int(16)
747: bool(false)
748: string(16) "=water===fruit=
749: "
750:
751: -- file opened in r+b --
752:
753: Notice: fputcsv(): delimiter must be a single character in %s on line %d
754:
755: Notice: fputcsv(): enclosure must be a single character in %s on line %d
756: int(16)
757: int(16)
758: bool(false)
759: string(16) "=water===fruit=
760: "
761:
762: -- file opened in r+t --
763:
764: Notice: fputcsv(): delimiter must be a single character in %s on line %d
765:
766: Notice: fputcsv(): enclosure must be a single character in %s on line %d
767: int(16)
768: int(16)
769: bool(false)
770: string(%d) "=water===fruit=
771: "
772:
773: -- file opened in a+ --
774:
775: Notice: fputcsv(): delimiter must be a single character in %s on line %d
776:
777: Notice: fputcsv(): enclosure must be a single character in %s on line %d
778: int(16)
779: int(16)
780: bool(false)
781: string(16) "=water===fruit=
782: "
783:
784: -- file opened in a+b --
785:
786: Notice: fputcsv(): delimiter must be a single character in %s on line %d
787:
788: Notice: fputcsv(): enclosure must be a single character in %s on line %d
789: int(16)
790: int(16)
791: bool(false)
792: string(16) "=water===fruit=
793: "
794:
795: -- file opened in a+t --
796:
797: Notice: fputcsv(): delimiter must be a single character in %s on line %d
798:
799: Notice: fputcsv(): enclosure must be a single character in %s on line %d
800: int(16)
801: int(16)
802: bool(false)
803: string(%d) "=water===fruit=
804: "
805:
806: -- file opened in w+ --
807:
808: Notice: fputcsv(): delimiter must be a single character in %s on line %d
809:
810: Notice: fputcsv(): enclosure must be a single character in %s on line %d
811: int(16)
812: int(16)
813: bool(false)
814: string(16) "=water===fruit=
815: "
816:
817: -- file opened in w+b --
818:
819: Notice: fputcsv(): delimiter must be a single character in %s on line %d
820:
821: Notice: fputcsv(): enclosure must be a single character in %s on line %d
822: int(16)
823: int(16)
824: bool(false)
825: string(16) "=water===fruit=
826: "
827:
828: -- file opened in w+t --
829:
830: Notice: fputcsv(): delimiter must be a single character in %s on line %d
831:
832: Notice: fputcsv(): enclosure must be a single character in %s on line %d
833: int(16)
834: int(16)
835: bool(false)
836: string(%d) "=water===fruit=
837: "
838:
839: -- file opened in x+ --
840:
841: Notice: fputcsv(): delimiter must be a single character in %s on line %d
842:
843: Notice: fputcsv(): enclosure must be a single character in %s on line %d
844: int(16)
845: int(16)
846: bool(false)
847: string(16) "=water===fruit=
848: "
849:
850: -- file opened in x+b --
851:
852: Notice: fputcsv(): delimiter must be a single character in %s on line %d
853:
854: Notice: fputcsv(): enclosure must be a single character in %s on line %d
855: int(16)
856: int(16)
857: bool(false)
858: string(16) "=water===fruit=
859: "
860:
861: -- file opened in x+t --
862:
863: Notice: fputcsv(): delimiter must be a single character in %s on line %d
864:
865: Notice: fputcsv(): enclosure must be a single character in %s on line %d
866: int(16)
867: int(16)
868: bool(false)
869: string(%d) "=water===fruit=
870: "
871:
872: -- file opened in r+ --
873:
874: Notice: fputcsv(): delimiter must be a single character in %s on line %d
875:
876: Notice: fputcsv(): enclosure must be a single character in %s on line %d
877: int(18)
878: int(18)
879: bool(false)
880: string(18) "-water--fruit-air
881: "
882:
883: -- file opened in r+b --
884:
885: Notice: fputcsv(): delimiter must be a single character in %s on line %d
886:
887: Notice: fputcsv(): enclosure must be a single character in %s on line %d
888: int(18)
889: int(18)
890: bool(false)
891: string(18) "-water--fruit-air
892: "
893:
894: -- file opened in r+t --
895:
896: Notice: fputcsv(): delimiter must be a single character in %s on line %d
897:
898: Notice: fputcsv(): enclosure must be a single character in %s on line %d
899: int(18)
900: int(18)
901: bool(false)
902: string(%d) "-water--fruit-air
903: "
904:
905: -- file opened in a+ --
906:
907: Notice: fputcsv(): delimiter must be a single character in %s on line %d
908:
909: Notice: fputcsv(): enclosure must be a single character in %s on line %d
910: int(18)
911: int(18)
912: bool(false)
913: string(18) "-water--fruit-air
914: "
915:
916: -- file opened in a+b --
917:
918: Notice: fputcsv(): delimiter must be a single character in %s on line %d
919:
920: Notice: fputcsv(): enclosure must be a single character in %s on line %d
921: int(18)
922: int(18)
923: bool(false)
924: string(18) "-water--fruit-air
925: "
926:
927: -- file opened in a+t --
928:
929: Notice: fputcsv(): delimiter must be a single character in %s on line %d
930:
931: Notice: fputcsv(): enclosure must be a single character in %s on line %d
932: int(18)
933: int(18)
934: bool(false)
935: string(%d) "-water--fruit-air
936: "
937:
938: -- file opened in w+ --
939:
940: Notice: fputcsv(): delimiter must be a single character in %s on line %d
941:
942: Notice: fputcsv(): enclosure must be a single character in %s on line %d
943: int(18)
944: int(18)
945: bool(false)
946: string(18) "-water--fruit-air
947: "
948:
949: -- file opened in w+b --
950:
951: Notice: fputcsv(): delimiter must be a single character in %s on line %d
952:
953: Notice: fputcsv(): enclosure must be a single character in %s on line %d
954: int(18)
955: int(18)
956: bool(false)
957: string(18) "-water--fruit-air
958: "
959:
960: -- file opened in w+t --
961:
962: Notice: fputcsv(): delimiter must be a single character in %s on line %d
963:
964: Notice: fputcsv(): enclosure must be a single character in %s on line %d
965: int(18)
966: int(18)
967: bool(false)
968: string(%d) "-water--fruit-air
969: "
970:
971: -- file opened in x+ --
972:
973: Notice: fputcsv(): delimiter must be a single character in %s on line %d
974:
975: Notice: fputcsv(): enclosure must be a single character in %s on line %d
976: int(18)
977: int(18)
978: bool(false)
979: string(18) "-water--fruit-air
980: "
981:
982: -- file opened in x+b --
983:
984: Notice: fputcsv(): delimiter must be a single character in %s on line %d
985:
986: Notice: fputcsv(): enclosure must be a single character in %s on line %d
987: int(18)
988: int(18)
989: bool(false)
990: string(18) "-water--fruit-air
991: "
992:
993: -- file opened in x+t --
994:
995: Notice: fputcsv(): delimiter must be a single character in %s on line %d
996:
997: Notice: fputcsv(): enclosure must be a single character in %s on line %d
998: int(18)
999: int(18)
1000: bool(false)
1001: string(%d) "-water--fruit-air
1002: "
1003:
1004: -- file opened in r+ --
1005:
1006: Notice: fputcsv(): delimiter must be a single character in %s on line %d
1007:
1008: Notice: fputcsv(): enclosure must be a single character in %s on line %d
1009: int(22)
1010: int(22)
1011: bool(false)
1012: string(22) "-water---fruit---air-
1013: "
1014:
1015: -- file opened in r+b --
1016:
1017: Notice: fputcsv(): delimiter must be a single character in %s on line %d
1018:
1019: Notice: fputcsv(): enclosure must be a single character in %s on line %d
1020: int(22)
1021: int(22)
1022: bool(false)
1023: string(22) "-water---fruit---air-
1024: "
1025:
1026: -- file opened in r+t --
1027:
1028: Notice: fputcsv(): delimiter must be a single character in %s on line %d
1029:
1030: Notice: fputcsv(): enclosure must be a single character in %s on line %d
1031: int(22)
1032: int(22)
1033: bool(false)
1034: string(%d) "-water---fruit---air-
1035: "
1036:
1037: -- file opened in a+ --
1038:
1039: Notice: fputcsv(): delimiter must be a single character in %s on line %d
1040:
1041: Notice: fputcsv(): enclosure must be a single character in %s on line %d
1042: int(22)
1043: int(22)
1044: bool(false)
1045: string(22) "-water---fruit---air-
1046: "
1047:
1048: -- file opened in a+b --
1049:
1050: Notice: fputcsv(): delimiter must be a single character in %s on line %d
1051:
1052: Notice: fputcsv(): enclosure must be a single character in %s on line %d
1053: int(22)
1054: int(22)
1055: bool(false)
1056: string(22) "-water---fruit---air-
1057: "
1058:
1059: -- file opened in a+t --
1060:
1061: Notice: fputcsv(): delimiter must be a single character in %s on line %d
1062:
1063: Notice: fputcsv(): enclosure must be a single character in %s on line %d
1064: int(22)
1065: int(22)
1066: bool(false)
1067: string(%d) "-water---fruit---air-
1068: "
1069:
1070: -- file opened in w+ --
1071:
1072: Notice: fputcsv(): delimiter must be a single character in %s on line %d
1073:
1074: Notice: fputcsv(): enclosure must be a single character in %s on line %d
1075: int(22)
1076: int(22)
1077: bool(false)
1078: string(22) "-water---fruit---air-
1079: "
1080:
1081: -- file opened in w+b --
1082:
1083: Notice: fputcsv(): delimiter must be a single character in %s on line %d
1084:
1085: Notice: fputcsv(): enclosure must be a single character in %s on line %d
1086: int(22)
1087: int(22)
1088: bool(false)
1089: string(22) "-water---fruit---air-
1090: "
1091:
1092: -- file opened in w+t --
1093:
1094: Notice: fputcsv(): delimiter must be a single character in %s on line %d
1095:
1096: Notice: fputcsv(): enclosure must be a single character in %s on line %d
1097: int(22)
1098: int(22)
1099: bool(false)
1100: string(%d) "-water---fruit---air-
1101: "
1102:
1103: -- file opened in x+ --
1104:
1105: Notice: fputcsv(): delimiter must be a single character in %s on line %d
1106:
1107: Notice: fputcsv(): enclosure must be a single character in %s on line %d
1108: int(22)
1109: int(22)
1110: bool(false)
1111: string(22) "-water---fruit---air-
1112: "
1113:
1114: -- file opened in x+b --
1115:
1116: Notice: fputcsv(): delimiter must be a single character in %s on line %d
1117:
1118: Notice: fputcsv(): enclosure must be a single character in %s on line %d
1119: int(22)
1120: int(22)
1121: bool(false)
1122: string(22) "-water---fruit---air-
1123: "
1124:
1125: -- file opened in x+t --
1126:
1127: Notice: fputcsv(): delimiter must be a single character in %s on line %d
1128:
1129: Notice: fputcsv(): enclosure must be a single character in %s on line %d
1130: int(22)
1131: int(22)
1132: bool(false)
1133: string(%d) "-water---fruit---air-
1134: "
1135:
1136: -- file opened in r+ --
1137:
1138: Notice: fputcsv(): delimiter must be a single character in %s on line %d
1139:
1140: Notice: fputcsv(): enclosure must be a single character in %s on line %d
1141: int(24)
1142: int(24)
1143: bool(false)
1144: string(24) "&""""&:&"&:,:":&,&:,,,,
1145: "
1146:
1147: -- file opened in r+b --
1148:
1149: Notice: fputcsv(): delimiter must be a single character in %s on line %d
1150:
1151: Notice: fputcsv(): enclosure must be a single character in %s on line %d
1152: int(24)
1153: int(24)
1154: bool(false)
1155: string(24) "&""""&:&"&:,:":&,&:,,,,
1156: "
1157:
1158: -- file opened in r+t --
1159:
1160: Notice: fputcsv(): delimiter must be a single character in %s on line %d
1161:
1162: Notice: fputcsv(): enclosure must be a single character in %s on line %d
1163: int(24)
1164: int(24)
1165: bool(false)
1166: string(%d) "&""""&:&"&:,:":&,&:,,,,
1167: "
1168:
1169: -- file opened in a+ --
1170:
1171: Notice: fputcsv(): delimiter must be a single character in %s on line %d
1172:
1173: Notice: fputcsv(): enclosure must be a single character in %s on line %d
1174: int(24)
1175: int(24)
1176: bool(false)
1177: string(24) "&""""&:&"&:,:":&,&:,,,,
1178: "
1179:
1180: -- file opened in a+b --
1181:
1182: Notice: fputcsv(): delimiter must be a single character in %s on line %d
1183:
1184: Notice: fputcsv(): enclosure must be a single character in %s on line %d
1185: int(24)
1186: int(24)
1187: bool(false)
1188: string(24) "&""""&:&"&:,:":&,&:,,,,
1189: "
1190:
1191: -- file opened in a+t --
1192:
1193: Notice: fputcsv(): delimiter must be a single character in %s on line %d
1194:
1195: Notice: fputcsv(): enclosure must be a single character in %s on line %d
1196: int(24)
1197: int(24)
1198: bool(false)
1199: string(%d) "&""""&:&"&:,:":&,&:,,,,
1200: "
1201:
1202: -- file opened in w+ --
1203:
1204: Notice: fputcsv(): delimiter must be a single character in %s on line %d
1205:
1206: Notice: fputcsv(): enclosure must be a single character in %s on line %d
1207: int(24)
1208: int(24)
1209: bool(false)
1210: string(24) "&""""&:&"&:,:":&,&:,,,,
1211: "
1212:
1213: -- file opened in w+b --
1214:
1215: Notice: fputcsv(): delimiter must be a single character in %s on line %d
1216:
1217: Notice: fputcsv(): enclosure must be a single character in %s on line %d
1218: int(24)
1219: int(24)
1220: bool(false)
1221: string(24) "&""""&:&"&:,:":&,&:,,,,
1222: "
1223:
1224: -- file opened in w+t --
1225:
1226: Notice: fputcsv(): delimiter must be a single character in %s on line %d
1227:
1228: Notice: fputcsv(): enclosure must be a single character in %s on line %d
1229: int(24)
1230: int(24)
1231: bool(false)
1232: string(%d) "&""""&:&"&:,:":&,&:,,,,
1233: "
1234:
1235: -- file opened in x+ --
1236:
1237: Notice: fputcsv(): delimiter must be a single character in %s on line %d
1238:
1239: Notice: fputcsv(): enclosure must be a single character in %s on line %d
1240: int(24)
1241: int(24)
1242: bool(false)
1243: string(24) "&""""&:&"&:,:":&,&:,,,,
1244: "
1245:
1246: -- file opened in x+b --
1247:
1248: Notice: fputcsv(): delimiter must be a single character in %s on line %d
1249:
1250: Notice: fputcsv(): enclosure must be a single character in %s on line %d
1251: int(24)
1252: int(24)
1253: bool(false)
1254: string(24) "&""""&:&"&:,:":&,&:,,,,
1255: "
1256:
1257: -- file opened in x+t --
1258:
1259: Notice: fputcsv(): delimiter must be a single character in %s on line %d
1260:
1261: Notice: fputcsv(): enclosure must be a single character in %s on line %d
1262: int(24)
1263: int(24)
1264: bool(false)
1265: string(%d) "&""""&:&"&:,:":&,&:,,,,
1266: "
1267: Done
1268:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>