import zend standard tests
[hiphop-php.git] / hphp / test / zend / good / ext-standard-file / fgetcsv_variation30.php.expectf
blob8a990e31c10dda4525efddf30dc42f270da8f2ff
1 *** Testing fgetcsv() : with file handle and length arguments, file pointer pointing at end of file ***
3 -- Testing fgetcsv() with file opened using r mode --
4 int(0)
5 bool(false)
6 bool(false)
7 int(53)
8 bool(true)
10 -- Testing fgetcsv() with file opened using rb mode --
11 int(0)
12 bool(false)
13 bool(false)
14 int(53)
15 bool(true)
17 -- Testing fgetcsv() with file opened using rt mode --
18 int(0)
19 bool(false)
20 bool(false)
21 int(%d)
22 bool(true)
24 -- Testing fgetcsv() with file opened using r+ mode --
25 int(0)
26 bool(false)
27 bool(false)
28 int(53)
29 bool(true)
31 -- Testing fgetcsv() with file opened using r+b mode --
32 int(0)
33 bool(false)
34 bool(false)
35 int(53)
36 bool(true)
38 -- Testing fgetcsv() with file opened using r+t mode --
39 int(0)
40 bool(false)
41 bool(false)
42 int(%d)
43 bool(true)
45 -- Testing fgetcsv() with file opened using a+ mode --
46 int(0)
47 bool(false)
48 bool(false)
49 int(53)
50 bool(true)
52 -- Testing fgetcsv() with file opened using a+b mode --
53 int(0)
54 bool(false)
55 bool(false)
56 int(53)
57 bool(true)
59 -- Testing fgetcsv() with file opened using a+t mode --
60 int(0)
61 bool(false)
62 bool(false)
63 int(%d)
64 bool(true)
66 -- Testing fgetcsv() with file opened using w+ mode --
67 int(0)
68 bool(false)
69 bool(false)
70 int(53)
71 bool(true)
73 -- Testing fgetcsv() with file opened using w+b mode --
74 int(0)
75 bool(false)
76 bool(false)
77 int(53)
78 bool(true)
80 -- Testing fgetcsv() with file opened using w+t mode --
81 int(0)
82 bool(false)
83 bool(false)
84 int(%d)
85 bool(true)
87 -- Testing fgetcsv() with file opened using x+ mode --
88 int(0)
89 bool(false)
90 bool(false)
91 int(53)
92 bool(true)
94 -- Testing fgetcsv() with file opened using x+b mode --
95 int(0)
96 bool(false)
97 bool(false)
98 int(53)
99 bool(true)
101 -- Testing fgetcsv() with file opened using x+t mode --
102 int(0)
103 bool(false)
104 bool(false)
105 int(%d)
106 bool(true)
108 -- Testing fgetcsv() with file opened using r mode --
109 int(0)
110 bool(false)
111 bool(false)
112 int(53)
113 bool(true)
115 -- Testing fgetcsv() with file opened using rb mode --
116 int(0)
117 bool(false)
118 bool(false)
119 int(53)
120 bool(true)
122 -- Testing fgetcsv() with file opened using rt mode --
123 int(0)
124 bool(false)
125 bool(false)
126 int(%d)
127 bool(true)
129 -- Testing fgetcsv() with file opened using r+ mode --
130 int(0)
131 bool(false)
132 bool(false)
133 int(53)
134 bool(true)
136 -- Testing fgetcsv() with file opened using r+b mode --
137 int(0)
138 bool(false)
139 bool(false)
140 int(53)
141 bool(true)
143 -- Testing fgetcsv() with file opened using r+t mode --
144 int(0)
145 bool(false)
146 bool(false)
147 int(%d)
148 bool(true)
150 -- Testing fgetcsv() with file opened using a+ mode --
151 int(0)
152 bool(false)
153 bool(false)
154 int(53)
155 bool(true)
157 -- Testing fgetcsv() with file opened using a+b mode --
158 int(0)
159 bool(false)
160 bool(false)
161 int(53)
162 bool(true)
164 -- Testing fgetcsv() with file opened using a+t mode --
165 int(0)
166 bool(false)
167 bool(false)
168 int(%d)
169 bool(true)
171 -- Testing fgetcsv() with file opened using w+ mode --
172 int(0)
173 bool(false)
174 bool(false)
175 int(53)
176 bool(true)
178 -- Testing fgetcsv() with file opened using w+b mode --
179 int(0)
180 bool(false)
181 bool(false)
182 int(53)
183 bool(true)
185 -- Testing fgetcsv() with file opened using w+t mode --
186 int(0)
187 bool(false)
188 bool(false)
189 int(%d)
190 bool(true)
192 -- Testing fgetcsv() with file opened using x+ mode --
193 int(0)
194 bool(false)
195 bool(false)
196 int(53)
197 bool(true)
199 -- Testing fgetcsv() with file opened using x+b mode --
200 int(0)
201 bool(false)
202 bool(false)
203 int(53)
204 bool(true)
206 -- Testing fgetcsv() with file opened using x+t mode --
207 int(0)
208 bool(false)
209 bool(false)
210 int(%d)
211 bool(true)
213 -- Testing fgetcsv() with file opened using r mode --
214 int(0)
215 bool(false)
216 bool(false)
217 int(57)
218 bool(true)
220 -- Testing fgetcsv() with file opened using rb mode --
221 int(0)
222 bool(false)
223 bool(false)
224 int(57)
225 bool(true)
227 -- Testing fgetcsv() with file opened using rt mode --
228 int(0)
229 bool(false)
230 bool(false)
231 int(%d)
232 bool(true)
234 -- Testing fgetcsv() with file opened using r+ mode --
235 int(0)
236 bool(false)
237 bool(false)
238 int(57)
239 bool(true)
241 -- Testing fgetcsv() with file opened using r+b mode --
242 int(0)
243 bool(false)
244 bool(false)
245 int(57)
246 bool(true)
248 -- Testing fgetcsv() with file opened using r+t mode --
249 int(0)
250 bool(false)
251 bool(false)
252 int(%d)
253 bool(true)
255 -- Testing fgetcsv() with file opened using a+ mode --
256 int(0)
257 bool(false)
258 bool(false)
259 int(57)
260 bool(true)
262 -- Testing fgetcsv() with file opened using a+b mode --
263 int(0)
264 bool(false)
265 bool(false)
266 int(57)
267 bool(true)
269 -- Testing fgetcsv() with file opened using a+t mode --
270 int(0)
271 bool(false)
272 bool(false)
273 int(%d)
274 bool(true)
276 -- Testing fgetcsv() with file opened using w+ mode --
277 int(0)
278 bool(false)
279 bool(false)
280 int(57)
281 bool(true)
283 -- Testing fgetcsv() with file opened using w+b mode --
284 int(0)
285 bool(false)
286 bool(false)
287 int(57)
288 bool(true)
290 -- Testing fgetcsv() with file opened using w+t mode --
291 int(0)
292 bool(false)
293 bool(false)
294 int(%d)
295 bool(true)
297 -- Testing fgetcsv() with file opened using x+ mode --
298 int(0)
299 bool(false)
300 bool(false)
301 int(57)
302 bool(true)
304 -- Testing fgetcsv() with file opened using x+b mode --
305 int(0)
306 bool(false)
307 bool(false)
308 int(57)
309 bool(true)
311 -- Testing fgetcsv() with file opened using x+t mode --
312 int(0)
313 bool(false)
314 bool(false)
315 int(%d)
316 bool(true)
318 -- Testing fgetcsv() with file opened using r mode --
319 int(0)
320 bool(false)
321 bool(false)
322 int(61)
323 bool(true)
325 -- Testing fgetcsv() with file opened using rb mode --
326 int(0)
327 bool(false)
328 bool(false)
329 int(61)
330 bool(true)
332 -- Testing fgetcsv() with file opened using rt mode --
333 int(0)
334 bool(false)
335 bool(false)
336 int(%d)
337 bool(true)
339 -- Testing fgetcsv() with file opened using r+ mode --
340 int(0)
341 bool(false)
342 bool(false)
343 int(61)
344 bool(true)
346 -- Testing fgetcsv() with file opened using r+b mode --
347 int(0)
348 bool(false)
349 bool(false)
350 int(61)
351 bool(true)
353 -- Testing fgetcsv() with file opened using r+t mode --
354 int(0)
355 bool(false)
356 bool(false)
357 int(%d)
358 bool(true)
360 -- Testing fgetcsv() with file opened using a+ mode --
361 int(0)
362 bool(false)
363 bool(false)
364 int(61)
365 bool(true)
367 -- Testing fgetcsv() with file opened using a+b mode --
368 int(0)
369 bool(false)
370 bool(false)
371 int(61)
372 bool(true)
374 -- Testing fgetcsv() with file opened using a+t mode --
375 int(0)
376 bool(false)
377 bool(false)
378 int(%d)
379 bool(true)
381 -- Testing fgetcsv() with file opened using w+ mode --
382 int(0)
383 bool(false)
384 bool(false)
385 int(61)
386 bool(true)
388 -- Testing fgetcsv() with file opened using w+b mode --
389 int(0)
390 bool(false)
391 bool(false)
392 int(61)
393 bool(true)
395 -- Testing fgetcsv() with file opened using w+t mode --
396 int(0)
397 bool(false)
398 bool(false)
399 int(%d)
400 bool(true)
402 -- Testing fgetcsv() with file opened using x+ mode --
403 int(0)
404 bool(false)
405 bool(false)
406 int(61)
407 bool(true)
409 -- Testing fgetcsv() with file opened using x+b mode --
410 int(0)
411 bool(false)
412 bool(false)
413 int(61)
414 bool(true)
416 -- Testing fgetcsv() with file opened using x+t mode --
417 int(0)
418 bool(false)
419 bool(false)
420 int(%d)
421 bool(true)
423 -- Testing fgetcsv() with file opened using r mode --
424 int(0)
425 bool(false)
426 bool(false)
427 int(61)
428 bool(true)
430 -- Testing fgetcsv() with file opened using rb mode --
431 int(0)
432 bool(false)
433 bool(false)
434 int(61)
435 bool(true)
437 -- Testing fgetcsv() with file opened using rt mode --
438 int(0)
439 bool(false)
440 bool(false)
441 int(%d)
442 bool(true)
444 -- Testing fgetcsv() with file opened using r+ mode --
445 int(0)
446 bool(false)
447 bool(false)
448 int(61)
449 bool(true)
451 -- Testing fgetcsv() with file opened using r+b mode --
452 int(0)
453 bool(false)
454 bool(false)
455 int(61)
456 bool(true)
458 -- Testing fgetcsv() with file opened using r+t mode --
459 int(0)
460 bool(false)
461 bool(false)
462 int(%d)
463 bool(true)
465 -- Testing fgetcsv() with file opened using a+ mode --
466 int(0)
467 bool(false)
468 bool(false)
469 int(61)
470 bool(true)
472 -- Testing fgetcsv() with file opened using a+b mode --
473 int(0)
474 bool(false)
475 bool(false)
476 int(61)
477 bool(true)
479 -- Testing fgetcsv() with file opened using a+t mode --
480 int(0)
481 bool(false)
482 bool(false)
483 int(%d)
484 bool(true)
486 -- Testing fgetcsv() with file opened using w+ mode --
487 int(0)
488 bool(false)
489 bool(false)
490 int(61)
491 bool(true)
493 -- Testing fgetcsv() with file opened using w+b mode --
494 int(0)
495 bool(false)
496 bool(false)
497 int(61)
498 bool(true)
500 -- Testing fgetcsv() with file opened using w+t mode --
501 int(0)
502 bool(false)
503 bool(false)
504 int(%d)
505 bool(true)
507 -- Testing fgetcsv() with file opened using x+ mode --
508 int(0)
509 bool(false)
510 bool(false)
511 int(61)
512 bool(true)
514 -- Testing fgetcsv() with file opened using x+b mode --
515 int(0)
516 bool(false)
517 bool(false)
518 int(61)
519 bool(true)
521 -- Testing fgetcsv() with file opened using x+t mode --
522 int(0)
523 bool(false)
524 bool(false)
525 int(%d)
526 bool(true)
527 Done