Lines Matching refs:fgetcsv
2 Test fgetcsv() : usage variations - with negative length value along with delimiter and no enclosure
6 …Prototype: array fgetcsv ( resource $handle [, int $length [, string $delimiter [, string $enclosu…
11 Testing fgetcsv() to read from a file when provided with negative length argument
15 echo "*** Testing fgetcsv() : with negative length value ***\n";
59 // this will be used to test, if the fgetcsv() read more than a line and its
74 echo "\n-- Testing fgetcsv() with file opened using $file_modes[$mode_counter] mode --\n";
76 // call fgetcsv() to parse csv fields
79 var_dump( fgetcsv($file_handle, -10, $delimiter) );
94 *** Testing fgetcsv() : with negative length value ***
96 -- Testing fgetcsv() with file opened using r mode --
98 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
103 -- Testing fgetcsv() with file opened using rb mode --
105 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
110 -- Testing fgetcsv() with file opened using rt mode --
112 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
117 -- Testing fgetcsv() with file opened using r+ mode --
119 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
124 -- Testing fgetcsv() with file opened using r+b mode --
126 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
131 -- Testing fgetcsv() with file opened using r+t mode --
133 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
138 -- Testing fgetcsv() with file opened using a+ mode --
140 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
145 -- Testing fgetcsv() with file opened using a+b mode --
147 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
152 -- Testing fgetcsv() with file opened using a+t mode --
154 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
159 -- Testing fgetcsv() with file opened using w+ mode --
161 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
166 -- Testing fgetcsv() with file opened using w+b mode --
168 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
173 -- Testing fgetcsv() with file opened using w+t mode --
175 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
180 -- Testing fgetcsv() with file opened using x+ mode --
182 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
187 -- Testing fgetcsv() with file opened using x+b mode --
189 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
194 -- Testing fgetcsv() with file opened using x+t mode --
196 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
201 -- Testing fgetcsv() with file opened using r mode --
203 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
208 -- Testing fgetcsv() with file opened using rb mode --
210 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
215 -- Testing fgetcsv() with file opened using rt mode --
217 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
222 -- Testing fgetcsv() with file opened using r+ mode --
224 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
229 -- Testing fgetcsv() with file opened using r+b mode --
231 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
236 -- Testing fgetcsv() with file opened using r+t mode --
238 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
243 -- Testing fgetcsv() with file opened using a+ mode --
245 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
250 -- Testing fgetcsv() with file opened using a+b mode --
252 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
257 -- Testing fgetcsv() with file opened using a+t mode --
259 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
264 -- Testing fgetcsv() with file opened using w+ mode --
266 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
271 -- Testing fgetcsv() with file opened using w+b mode --
273 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
278 -- Testing fgetcsv() with file opened using w+t mode --
280 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
285 -- Testing fgetcsv() with file opened using x+ mode --
287 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
292 -- Testing fgetcsv() with file opened using x+b mode --
294 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
299 -- Testing fgetcsv() with file opened using x+t mode --
301 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
306 -- Testing fgetcsv() with file opened using r mode --
308 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
313 -- Testing fgetcsv() with file opened using rb mode --
315 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
320 -- Testing fgetcsv() with file opened using rt mode --
322 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
327 -- Testing fgetcsv() with file opened using r+ mode --
329 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
334 -- Testing fgetcsv() with file opened using r+b mode --
336 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
341 -- Testing fgetcsv() with file opened using r+t mode --
343 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
348 -- Testing fgetcsv() with file opened using a+ mode --
350 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
355 -- Testing fgetcsv() with file opened using a+b mode --
357 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
362 -- Testing fgetcsv() with file opened using a+t mode --
364 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
369 -- Testing fgetcsv() with file opened using w+ mode --
371 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
376 -- Testing fgetcsv() with file opened using w+b mode --
378 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
383 -- Testing fgetcsv() with file opened using w+t mode --
385 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
390 -- Testing fgetcsv() with file opened using x+ mode --
392 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
397 -- Testing fgetcsv() with file opened using x+b mode --
399 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
404 -- Testing fgetcsv() with file opened using x+t mode --
406 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
411 -- Testing fgetcsv() with file opened using r mode --
413 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
418 -- Testing fgetcsv() with file opened using rb mode --
420 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
425 -- Testing fgetcsv() with file opened using rt mode --
427 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
432 -- Testing fgetcsv() with file opened using r+ mode --
434 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
439 -- Testing fgetcsv() with file opened using r+b mode --
441 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
446 -- Testing fgetcsv() with file opened using r+t mode --
448 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
453 -- Testing fgetcsv() with file opened using a+ mode --
455 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
460 -- Testing fgetcsv() with file opened using a+b mode --
462 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
467 -- Testing fgetcsv() with file opened using a+t mode --
469 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
474 -- Testing fgetcsv() with file opened using w+ mode --
476 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
481 -- Testing fgetcsv() with file opened using w+b mode --
483 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
488 -- Testing fgetcsv() with file opened using w+t mode --
490 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
495 -- Testing fgetcsv() with file opened using x+ mode --
497 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
502 -- Testing fgetcsv() with file opened using x+b mode --
504 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
509 -- Testing fgetcsv() with file opened using x+t mode --
511 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
516 -- Testing fgetcsv() with file opened using r mode --
518 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
523 -- Testing fgetcsv() with file opened using rb mode --
525 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
530 -- Testing fgetcsv() with file opened using rt mode --
532 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
537 -- Testing fgetcsv() with file opened using r+ mode --
539 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
544 -- Testing fgetcsv() with file opened using r+b mode --
546 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
551 -- Testing fgetcsv() with file opened using r+t mode --
553 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
558 -- Testing fgetcsv() with file opened using a+ mode --
560 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
565 -- Testing fgetcsv() with file opened using a+b mode --
567 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
572 -- Testing fgetcsv() with file opened using a+t mode --
574 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
579 -- Testing fgetcsv() with file opened using w+ mode --
581 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
586 -- Testing fgetcsv() with file opened using w+b mode --
588 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
593 -- Testing fgetcsv() with file opened using w+t mode --
595 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
600 -- Testing fgetcsv() with file opened using x+ mode --
602 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
607 -- Testing fgetcsv() with file opened using x+b mode --
609 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
614 -- Testing fgetcsv() with file opened using x+t mode --
616 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
621 -- Testing fgetcsv() with file opened using r mode --
623 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
628 -- Testing fgetcsv() with file opened using rb mode --
630 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
635 -- Testing fgetcsv() with file opened using rt mode --
637 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
642 -- Testing fgetcsv() with file opened using r+ mode --
644 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
649 -- Testing fgetcsv() with file opened using r+b mode --
651 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
656 -- Testing fgetcsv() with file opened using r+t mode --
658 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
663 -- Testing fgetcsv() with file opened using a+ mode --
665 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
670 -- Testing fgetcsv() with file opened using a+b mode --
672 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
677 -- Testing fgetcsv() with file opened using a+t mode --
679 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
684 -- Testing fgetcsv() with file opened using w+ mode --
686 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
691 -- Testing fgetcsv() with file opened using w+b mode --
693 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
698 -- Testing fgetcsv() with file opened using w+t mode --
700 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
705 -- Testing fgetcsv() with file opened using x+ mode --
707 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
712 -- Testing fgetcsv() with file opened using x+b mode --
714 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
719 -- Testing fgetcsv() with file opened using x+t mode --
721 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
726 -- Testing fgetcsv() with file opened using r mode --
728 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
733 -- Testing fgetcsv() with file opened using rb mode --
735 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
740 -- Testing fgetcsv() with file opened using rt mode --
742 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
747 -- Testing fgetcsv() with file opened using r+ mode --
749 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
754 -- Testing fgetcsv() with file opened using r+b mode --
756 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
761 -- Testing fgetcsv() with file opened using r+t mode --
763 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
768 -- Testing fgetcsv() with file opened using a+ mode --
770 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
775 -- Testing fgetcsv() with file opened using a+b mode --
777 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
782 -- Testing fgetcsv() with file opened using a+t mode --
784 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
789 -- Testing fgetcsv() with file opened using w+ mode --
791 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
796 -- Testing fgetcsv() with file opened using w+b mode --
798 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
803 -- Testing fgetcsv() with file opened using w+t mode --
805 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
810 -- Testing fgetcsv() with file opened using x+ mode --
812 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
817 -- Testing fgetcsv() with file opened using x+b mode --
819 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
824 -- Testing fgetcsv() with file opened using x+t mode --
826 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
831 -- Testing fgetcsv() with file opened using r mode --
833 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
838 -- Testing fgetcsv() with file opened using rb mode --
840 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
845 -- Testing fgetcsv() with file opened using rt mode --
847 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
852 -- Testing fgetcsv() with file opened using r+ mode --
854 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
859 -- Testing fgetcsv() with file opened using r+b mode --
861 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
866 -- Testing fgetcsv() with file opened using r+t mode --
868 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
873 -- Testing fgetcsv() with file opened using a+ mode --
875 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
880 -- Testing fgetcsv() with file opened using a+b mode --
882 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
887 -- Testing fgetcsv() with file opened using a+t mode --
889 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
894 -- Testing fgetcsv() with file opened using w+ mode --
896 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
901 -- Testing fgetcsv() with file opened using w+b mode --
903 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
908 -- Testing fgetcsv() with file opened using w+t mode --
910 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
915 -- Testing fgetcsv() with file opened using x+ mode --
917 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
922 -- Testing fgetcsv() with file opened using x+b mode --
924 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d
929 -- Testing fgetcsv() with file opened using x+t mode --
931 Warning: fgetcsv(): Length parameter may not be negative in %s on line %d