Test: /ext/standard/tests/file/fgetcsv_variation16.phpt - Version 7.3.1    

There is 1 diff reported by users for this test.

Count Diff
1 (100%)
001+ ** ERROR: process timed out **
001- *** Testing fgetcsv() : with default enclosure & length as 0 ***
002-
003- -- Testing fgetcsv() with file opened using r mode --
004- array(2) {
005- [0]=>
006- string(5) "water"
007- [1]=>
008- string(5) "fruit"
009- }
010- int(12)
011- bool(false)
012-
013- -- Testing fgetcsv() with file opened using rb mode --
014- array(2) {
015- [0]=>
016- string(5) "water"
017- [1]=>
018- string(5) "fruit"
019- }
020- int(12)
021- bool(false)
022-
023- -- Testing fgetcsv() with file opened using rt mode --
024- array(2) {
025- [0]=>
026- string(5) "water"
027- [1]=>
028- string(5) "fruit"
029- }
030- int(12)
031- bool(false)
032-
033- -- Testing fgetcsv() with file opened using r+ mode --
034- array(2) {
035- [0]=>
036- string(5) "water"
037- [1]=>
038- string(5) "fruit"
039- }
040- int(12)
041- bool(false)
042-
043- -- Testing fgetcsv() with file opened using r+b mode --
044- array(2) {
045- [0]=>
046- string(5) "water"
047- [1]=>
048- string(5) "fruit"
049- }
050- int(12)
051- bool(false)
052-
053- -- Testing fgetcsv() with file opened using r+t mode --
054- array(2) {
055- [0]=>
056- string(5) "water"
057- [1]=>
058- string(5) "fruit"
059- }
060- int(12)
061- bool(false)
062-
063- -- Testing fgetcsv() with file opened using a+ mode --
064- array(2) {
065- [0]=>
066- string(5) "water"
067- [1]=>
068- string(5) "fruit"
069- }
070- int(12)
071- bool(false)
072-
073- -- Testing fgetcsv() with file opened using a+b mode --
074- array(2) {
075- [0]=>
076- string(5) "water"
077- [1]=>
078- string(5) "fruit"
079- }
080- int(12)
081- bool(false)
082-
083- -- Testing fgetcsv() with file opened using a+t mode --
084- array(2) {
085- [0]=>
086- string(5) "water"
087- [1]=>
088- string(5) "fruit"
089- }
090- int(12)
091- bool(false)
092-
093- -- Testing fgetcsv() with file opened using w+ mode --
094- array(2) {
095- [0]=>
096- string(5) "water"
097- [1]=>
098- string(5) "fruit"
099- }
100- int(12)
101- bool(false)
102-
103- -- Testing fgetcsv() with file opened using w+b mode --
104- array(2) {
105- [0]=>
106- string(5) "water"
107- [1]=>
108- string(5) "fruit"
109- }
110- int(12)
111- bool(false)
112-
113- -- Testing fgetcsv() with file opened using w+t mode --
114- array(2) {
115- [0]=>
116- string(5) "water"
117- [1]=>
118- string(5) "fruit"
119- }
120- int(12)
121- bool(false)
122-
123- -- Testing fgetcsv() with file opened using x+ mode --
124- array(2) {
125- [0]=>
126- string(5) "water"
127- [1]=>
128- string(5) "fruit"
129- }
130- int(12)
131- bool(false)
132-
133- -- Testing fgetcsv() with file opened using x+b mode --
134- array(2) {
135- [0]=>
136- string(5) "water"
137- [1]=>
138- string(5) "fruit"
139- }
140- int(12)
141- bool(false)
142-
143- -- Testing fgetcsv() with file opened using x+t mode --
144- array(2) {
145- [0]=>
146- string(5) "water"
147- [1]=>
148- string(5) "fruit"
149- }
150- int(12)
151- bool(false)
152-
153- -- Testing fgetcsv() with file opened using r mode --
154- array(2) {
155- [0]=>
156- string(5) "water"
157- [1]=>
158- string(5) "fruit"
159- }
160- int(12)
161- bool(false)
162-
163- -- Testing fgetcsv() with file opened using rb mode --
164- array(2) {
165- [0]=>
166- string(5) "water"
167- [1]=>
168- string(5) "fruit"
169- }
170- int(12)
171- bool(false)
172-
173- -- Testing fgetcsv() with file opened using rt mode --
174- array(2) {
175- [0]=>
176- string(5) "water"
177- [1]=>
178- string(5) "fruit"
179- }
180- int(12)
181- bool(false)
182-
183- -- Testing fgetcsv() with file opened using r+ mode --
184- array(2) {
185- [0]=>
186- string(5) "water"
187- [1]=>
188- string(5) "fruit"
189- }
190- int(12)
191- bool(false)
192-
193- -- Testing fgetcsv() with file opened using r+b mode --
194- array(2) {
195- [0]=>
196- string(5) "water"
197- [1]=>
198- string(5) "fruit"
199- }
200- int(12)
201- bool(false)
202-
203- -- Testing fgetcsv() with file opened using r+t mode --
204- array(2) {
205- [0]=>
206- string(5) "water"
207- [1]=>
208- string(5) "fruit"
209- }
210- int(12)
211- bool(false)
212-
213- -- Testing fgetcsv() with file opened using a+ mode --
214- array(2) {
215- [0]=>
216- string(5) "water"
217- [1]=>
218- string(5) "fruit"
219- }
220- int(12)
221- bool(false)
222-
223- -- Testing fgetcsv() with file opened using a+b mode --
224- array(2) {
225- [0]=>
226- string(5) "water"
227- [1]=>
228- string(5) "fruit"
229- }
230- int(12)
231- bool(false)
232-
233- -- Testing fgetcsv() with file opened using a+t mode --
234- array(2) {
235- [0]=>
236- string(5) "water"
237- [1]=>
238- string(5) "fruit"
239- }
240- int(12)
241- bool(false)
242-
243- -- Testing fgetcsv() with file opened using w+ mode --
244- array(2) {
245- [0]=>
246- string(5) "water"
247- [1]=>
248- string(5) "fruit"
249- }
250- int(12)
251- bool(false)
252-
253- -- Testing fgetcsv() with file opened using w+b mode --
254- array(2) {
255- [0]=>
256- string(5) "water"
257- [1]=>
258- string(5) "fruit"
259- }
260- int(12)
261- bool(false)
262-
263- -- Testing fgetcsv() with file opened using w+t mode --
264- array(2) {
265- [0]=>
266- string(5) "water"
267- [1]=>
268- string(5) "fruit"
269- }
270- int(12)
271- bool(false)
272-
273- -- Testing fgetcsv() with file opened using x+ mode --
274- array(2) {
275- [0]=>
276- string(5) "water"
277- [1]=>
278- string(5) "fruit"
279- }
280- int(12)
281- bool(false)
282-
283- -- Testing fgetcsv() with file opened using x+b mode --
284- array(2) {
285- [0]=>
286- string(5) "water"
287- [1]=>
288- string(5) "fruit"
289- }
290- int(12)
291- bool(false)
292-
293- -- Testing fgetcsv() with file opened using x+t mode --
294- array(2) {
295- [0]=>
296- string(5) "water"
297- [1]=>
298- string(5) "fruit"
299- }
300- int(12)
301- bool(false)
302-
303- -- Testing fgetcsv() with file opened using r mode --
304- array(2) {
305- [0]=>
306- string(5) "water"
307- [1]=>
308- string(5) "fruit"
309- }
310- int(16)
311- bool(false)
312-
313- -- Testing fgetcsv() with file opened using rb mode --
314- array(2) {
315- [0]=>
316- string(5) "water"
317- [1]=>
318- string(5) "fruit"
319- }
320- int(16)
321- bool(false)
322-
323- -- Testing fgetcsv() with file opened using rt mode --
324- array(2) {
325- [0]=>
326- string(5) "water"
327- [1]=>
328- string(5) "fruit"
329- }
330- int(16)
331- bool(false)
332-
333- -- Testing fgetcsv() with file opened using r+ mode --
334- array(2) {
335- [0]=>
336- string(5) "water"
337- [1]=>
338- string(5) "fruit"
339- }
340- int(16)
341- bool(false)
342-
343- -- Testing fgetcsv() with file opened using r+b mode --
344- array(2) {
345- [0]=>
346- string(5) "water"
347- [1]=>
348- string(5) "fruit"
349- }
350- int(16)
351- bool(false)
352-
353- -- Testing fgetcsv() with file opened using r+t mode --
354- array(2) {
355- [0]=>
356- string(5) "water"
357- [1]=>
358- string(5) "fruit"
359- }
360- int(16)
361- bool(false)
362-
363- -- Testing fgetcsv() with file opened using a+ mode --
364- array(2) {
365- [0]=>
366- string(5) "water"
367- [1]=>
368- string(5) "fruit"
369- }
370- int(16)
371- bool(false)
372-
373- -- Testing fgetcsv() with file opened using a+b mode --
374- array(2) {
375- [0]=>
376- string(5) "water"
377- [1]=>
378- string(5) "fruit"
379- }
380- int(16)
381- bool(false)
382-
383- -- Testing fgetcsv() with file opened using a+t mode --
384- array(2) {
385- [0]=>
386- string(5) "water"
387- [1]=>
388- string(5) "fruit"
389- }
390- int(16)
391- bool(false)
392-
393- -- Testing fgetcsv() with file opened using w+ mode --
394- array(2) {
395- [0]=>
396- string(5) "water"
397- [1]=>
398- string(5) "fruit"
399- }
400- int(16)
401- bool(false)
402-
403- -- Testing fgetcsv() with file opened using w+b mode --
404- array(2) {
405- [0]=>
406- string(5) "water"
407- [1]=>
408- string(5) "fruit"
409- }
410- int(16)
411- bool(false)
412-
413- -- Testing fgetcsv() with file opened using w+t mode --
414- array(2) {
415- [0]=>
416- string(5) "water"
417- [1]=>
418- string(5) "fruit"
419- }
420- int(16)
421- bool(false)
422-
423- -- Testing fgetcsv() with file opened using x+ mode --
424- array(2) {
425- [0]=>
426- string(5) "water"
427- [1]=>
428- string(5) "fruit"
429- }
430- int(16)
431- bool(false)
432-
433- -- Testing fgetcsv() with file opened using x+b mode --
434- array(2) {
435- [0]=>
436- string(5) "water"
437- [1]=>
438- string(5) "fruit"
439- }
440- int(16)
441- bool(false)
442-
443- -- Testing fgetcsv() with file opened using x+t mode --
444- array(2) {
445- [0]=>
446- string(5) "water"
447- [1]=>
448- string(5) "fruit"
449- }
450- int(16)
451- bool(false)
452-
453- -- Testing fgetcsv() with file opened using r mode --
454- array(3) {
455- [0]=>
456- string(5) "water"
457- [1]=>
458- string(5) "fruit"
459- [2]=>
460- string(3) "air"
461- }
462- int(20)
463- bool(false)
464-
465- -- Testing fgetcsv() with file opened using rb mode --
466- array(3) {
467- [0]=>
468- string(5) "water"
469- [1]=>
470- string(5) "fruit"
471- [2]=>
472- string(3) "air"
473- }
474- int(20)
475- bool(false)
476-
477- -- Testing fgetcsv() with file opened using rt mode --
478- array(3) {
479- [0]=>
480- string(5) "water"
481- [1]=>
482- string(5) "fruit"
483- [2]=>
484- string(3) "air"
485- }
486- int(20)
487- bool(false)
488-
489- -- Testing fgetcsv() with file opened using r+ mode --
490- array(3) {
491- [0]=>
492- string(5) "water"
493- [1]=>
494- string(5) "fruit"
495- [2]=>
496- string(3) "air"
497- }
498- int(20)
499- bool(false)
500-
501- -- Testing fgetcsv() with file opened using r+b mode --
502- array(3) {
503- [0]=>
504- string(5) "water"
505- [1]=>
506- string(5) "fruit"
507- [2]=>
508- string(3) "air"
509- }
510- int(20)
511- bool(false)
512-
513- -- Testing fgetcsv() with file opened using r+t mode --
514- array(3) {
515- [0]=>
516- string(5) "water"
517- [1]=>
518- string(5) "fruit"
519- [2]=>
520- string(3) "air"
521- }
522- int(20)
523- bool(false)
524-
525- -- Testing fgetcsv() with file opened using a+ mode --
526- array(3) {
527- [0]=>
528- string(5) "water"
529- [1]=>
530- string(5) "fruit"
531- [2]=>
532- string(3) "air"
533- }
534- int(20)
535- bool(false)
536-
537- -- Testing fgetcsv() with file opened using a+b mode --
538- array(3) {
539- [0]=>
540- string(5) "water"
541- [1]=>
542- string(5) "fruit"
543- [2]=>
544- string(3) "air"
545- }
546- int(20)
547- bool(false)
548-
549- -- Testing fgetcsv() with file opened using a+t mode --
550- array(3) {
551- [0]=>
552- string(5) "water"
553- [1]=>
554- string(5) "fruit"
555- [2]=>
556- string(3) "air"
557- }
558- int(20)
559- bool(false)
560-
561- -- Testing fgetcsv() with file opened using w+ mode --
562- array(3) {
563- [0]=>
564- string(5) "water"
565- [1]=>
566- string(5) "fruit"
567- [2]=>
568- string(3) "air"
569- }
570- int(20)
571- bool(false)
572-
573- -- Testing fgetcsv() with file opened using w+b mode --
574- array(3) {
575- [0]=>
576- string(5) "water"
577- [1]=>
578- string(5) "fruit"
579- [2]=>
580- string(3) "air"
581- }
582- int(20)
583- bool(false)
584-
585- -- Testing fgetcsv() with file opened using w+t mode --
586- array(3) {
587- [0]=>
588- string(5) "water"
589- [1]=>
590- string(5) "fruit"
591- [2]=>
592- string(3) "air"
593- }
594- int(20)
595- bool(false)
596-
597- -- Testing fgetcsv() with file opened using x+ mode --
598- array(3) {
599- [0]=>
600- string(5) "water"
601- [1]=>
602- string(5) "fruit"
603- [2]=>
604- string(3) "air"
605- }
606- int(20)
607- bool(false)
608-
609- -- Testing fgetcsv() with file opened using x+b mode --
610- array(3) {
611- [0]=>
612- string(5) "water"
613- [1]=>
614- string(5) "fruit"
615- [2]=>
616- string(3) "air"
617- }
618- int(20)
619- bool(false)
620-
621- -- Testing fgetcsv() with file opened using x+t mode --
622- array(3) {
623- [0]=>
624- string(5) "water"
625- [1]=>
626- string(5) "fruit"
627- [2]=>
628- string(3) "air"
629- }
630- int(20)
631- bool(false)
632-
633- -- Testing fgetcsv() with file opened using r mode --
634- array(3) {
635- [0]=>
636- string(5) "water"
637- [1]=>
638- string(5) "fruit"
639- [2]=>
640- string(43) ""
641- This is line of text without csv fields
642-
643- "
644- }
645- int(61)
646- bool(true)
647-
648- -- Testing fgetcsv() with file opened using rb mode --
649- array(3) {
650- [0]=>
651- string(5) "water"
652- [1]=>
653- string(5) "fruit"
654- [2]=>
655- string(43) ""
656- This is line of text without csv fields
657-
658- "
659- }
660- int(61)
661- bool(true)
662-
663- -- Testing fgetcsv() with file opened using rt mode --
664- array(3) {
665- [0]=>
666- string(5) "water"
667- [1]=>
668- string(5) "fruit"
669- [2]=>
670- string(43) ""
671- This is line of text without csv fields
672-
673- "
674- }
675- int(61)
676- bool(true)
677-
678- -- Testing fgetcsv() with file opened using r+ mode --
679- array(3) {
680- [0]=>
681- string(5) "water"
682- [1]=>
683- string(5) "fruit"
684- [2]=>
685- string(43) ""
686- This is line of text without csv fields
687-
688- "
689- }
690- int(61)
691- bool(true)
692-
693- -- Testing fgetcsv() with file opened using r+b mode --
694- array(3) {
695- [0]=>
696- string(5) "water"
697- [1]=>
698- string(5) "fruit"
699- [2]=>
700- string(43) ""
701- This is line of text without csv fields
702-
703- "
704- }
705- int(61)
706- bool(true)
707-
708- -- Testing fgetcsv() with file opened using r+t mode --
709- array(3) {
710- [0]=>
711- string(5) "water"
712- [1]=>
713- string(5) "fruit"
714- [2]=>
715- string(43) ""
716- This is line of text without csv fields
717-
718- "
719- }
720- int(61)
721- bool(true)
722-
723- -- Testing fgetcsv() with file opened using a+ mode --
724- array(3) {
725- [0]=>
726- string(5) "water"
727- [1]=>
728- string(5) "fruit"
729- [2]=>
730- string(43) ""
731- This is line of text without csv fields
732-
733- "
734- }
735- int(61)
736- bool(true)
737-
738- -- Testing fgetcsv() with file opened using a+b mode --
739- array(3) {
740- [0]=>
741- string(5) "water"
742- [1]=>
743- string(5) "fruit"
744- [2]=>
745- string(43) ""
746- This is line of text without csv fields
747-
748- "
749- }
750- int(61)
751- bool(true)
752-
753- -- Testing fgetcsv() with file opened using a+t mode --
754- array(3) {
755- [0]=>
756- string(5) "water"
757- [1]=>
758- string(5) "fruit"
759- [2]=>
760- string(43) ""
761- This is line of text without csv fields
762-
763- "
764- }
765- int(61)
766- bool(true)
767-
768- -- Testing fgetcsv() with file opened using w+ mode --
769- array(3) {
770- [0]=>
771- string(5) "water"
772- [1]=>
773- string(5) "fruit"
774- [2]=>
775- string(43) ""
776- This is line of text without csv fields
777-
778- "
779- }
780- int(61)
781- bool(true)
782-
783- -- Testing fgetcsv() with file opened using w+b mode --
784- array(3) {
785- [0]=>
786- string(5) "water"
787- [1]=>
788- string(5) "fruit"
789- [2]=>
790- string(43) ""
791- This is line of text without csv fields
792-
793- "
794- }
795- int(61)
796- bool(true)
797-
798- -- Testing fgetcsv() with file opened using w+t mode --
799- array(3) {
800- [0]=>
801- string(5) "water"
802- [1]=>
803- string(5) "fruit"
804- [2]=>
805- string(43) ""
806- This is line of text without csv fields
807-
808- "
809- }
810- int(61)
811- bool(true)
812-
813- -- Testing fgetcsv() with file opened using x+ mode --
814- array(3) {
815- [0]=>
816- string(5) "water"
817- [1]=>
818- string(5) "fruit"
819- [2]=>
820- string(43) ""
821- This is line of text without csv fields
822-
823- "
824- }
825- int(61)
826- bool(true)
827-
828- -- Testing fgetcsv() with file opened using x+b mode --
829- array(3) {
830- [0]=>
831- string(5) "water"
832- [1]=>
833- string(5) "fruit"
834- [2]=>
835- string(43) ""
836- This is line of text without csv fields
837-
838- "
839- }
840- int(61)
841- bool(true)
842-
843- -- Testing fgetcsv() with file opened using x+t mode --
844- array(3) {
845- [0]=>
846- string(5) "water"
847- [1]=>
848- string(5) "fruit"
849- [2]=>
850- string(43) ""
851- This is line of text without csv fields
852-
853- "
854- }
855- int(61)
856- bool(true)
857- Done