import zend standard tests
[hiphop-php.git] / hphp / test / zend / bad / ext-standard-file / readfile_basic.php.expectf
blobc6afc48ecb0f75960cbdf098b0897214f68b8fc9
1 *** Testing readfile() : basic functionality ***
3 -- File filled with content type: numeric --
4 -- File opened with mode: w --
5 2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
6 int(100)
7 -- File opened with mode: wt --
8 2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
9 int(100)
10 -- File opened with mode: wb --
11 2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
12 int(100)
13 -- File opened with mode: w+ --
14 2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
15 int(100)
16 -- File opened with mode: w+b --
17 2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
18 int(100)
19 -- File opened with mode: w+t --
20 2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
21 int(100)
22 -- File opened with mode: a --
23 2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
24 int(100)
25 -- File opened with mode: at --
26 2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
27 int(100)
28 -- File opened with mode: ab --
29 2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
30 int(100)
31 -- File opened with mode: a+ --
32 2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
33 int(100)
34 -- File opened with mode: a+b --
35 2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
36 int(100)
37 -- File opened with mode: a+t --
38 2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
39 int(100)
40 -- File opened with mode: x --
41 2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
42 int(100)
43 -- File opened with mode: xb --
44 2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
45 int(100)
46 -- File opened with mode: xt --
47 2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
48 int(100)
49 -- File opened with mode: x+ --
50 2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
51 int(100)
52 -- File opened with mode: x+b --
53 2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
54 int(100)
55 -- File opened with mode: x+t --
56 2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
57 int(100)
59 -- File filled with content type: text --
60 -- File opened with mode: w --
61 text text text text text text text text text text text text text text text text text text text text 
62 int(100)
63 -- File opened with mode: wt --
64 text text text text text text text text text text text text text text text text text text text text 
65 int(100)
66 -- File opened with mode: wb --
67 text text text text text text text text text text text text text text text text text text text text 
68 int(100)
69 -- File opened with mode: w+ --
70 text text text text text text text text text text text text text text text text text text text text 
71 int(100)
72 -- File opened with mode: w+b --
73 text text text text text text text text text text text text text text text text text text text text 
74 int(100)
75 -- File opened with mode: w+t --
76 text text text text text text text text text text text text text text text text text text text text 
77 int(100)
78 -- File opened with mode: a --
79 text text text text text text text text text text text text text text text text text text text text 
80 int(100)
81 -- File opened with mode: at --
82 text text text text text text text text text text text text text text text text text text text text 
83 int(100)
84 -- File opened with mode: ab --
85 text text text text text text text text text text text text text text text text text text text text 
86 int(100)
87 -- File opened with mode: a+ --
88 text text text text text text text text text text text text text text text text text text text text 
89 int(100)
90 -- File opened with mode: a+b --
91 text text text text text text text text text text text text text text text text text text text text 
92 int(100)
93 -- File opened with mode: a+t --
94 text text text text text text text text text text text text text text text text text text text text 
95 int(100)
96 -- File opened with mode: x --
97 text text text text text text text text text text text text text text text text text text text text 
98 int(100)
99 -- File opened with mode: xb --
100 text text text text text text text text text text text text text text text text text text text text 
101 int(100)
102 -- File opened with mode: xt --
103 text text text text text text text text text text text text text text text text text text text text 
104 int(100)
105 -- File opened with mode: x+ --
106 text text text text text text text text text text text text text text text text text text text text 
107 int(100)
108 -- File opened with mode: x+b --
109 text text text text text text text text text text text text text text text text text text text text 
110 int(100)
111 -- File opened with mode: x+t --
112 text text text text text text text text text text text text text text text text text text text text 
113 int(100)
115 -- File filled with content type: empty --
116 -- File opened with mode: w --
118 int(0)
119 -- File opened with mode: wt --
121 int(0)
122 -- File opened with mode: wb --
124 int(0)
125 -- File opened with mode: w+ --
127 int(0)
128 -- File opened with mode: w+b --
130 int(0)
131 -- File opened with mode: w+t --
133 int(0)
134 -- File opened with mode: a --
136 int(0)
137 -- File opened with mode: at --
139 int(0)
140 -- File opened with mode: ab --
142 int(0)
143 -- File opened with mode: a+ --
145 int(0)
146 -- File opened with mode: a+b --
148 int(0)
149 -- File opened with mode: a+t --
151 int(0)
152 -- File opened with mode: x --
154 int(0)
155 -- File opened with mode: xb --
157 int(0)
158 -- File opened with mode: xt --
160 int(0)
161 -- File opened with mode: x+ --
163 int(0)
164 -- File opened with mode: x+b --
166 int(0)
167 -- File opened with mode: x+t --
169 int(0)
171 -- File filled with content type: alphanumeric --
172 -- File opened with mode: w --
173 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 
174 int(100)
175 -- File opened with mode: wt --
176 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 
177 int(100)
178 -- File opened with mode: wb --
179 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 
180 int(100)
181 -- File opened with mode: w+ --
182 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 
183 int(100)
184 -- File opened with mode: w+b --
185 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 
186 int(100)
187 -- File opened with mode: w+t --
188 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 
189 int(100)
190 -- File opened with mode: a --
191 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 
192 int(100)
193 -- File opened with mode: at --
194 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 
195 int(100)
196 -- File opened with mode: ab --
197 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 
198 int(100)
199 -- File opened with mode: a+ --
200 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 
201 int(100)
202 -- File opened with mode: a+b --
203 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 
204 int(100)
205 -- File opened with mode: a+t --
206 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 
207 int(100)
208 -- File opened with mode: x --
209 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 
210 int(100)
211 -- File opened with mode: xb --
212 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 
213 int(100)
214 -- File opened with mode: xt --
215 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 
216 int(100)
217 -- File opened with mode: x+ --
218 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 
219 int(100)
220 -- File opened with mode: x+b --
221 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 
222 int(100)
223 -- File opened with mode: x+t --
224 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 
225 int(100)
227 -- File filled with content type: text_with_new_line --
228 -- File opened with mode: w --
229 line
230 line of text
231 line
232 line of text
233 line
234 line of text
235 line
236 line of text
237 line
238 line of text
239 line
240 line 
241 int(100)
242 -- File opened with mode: wt --
243 line
244 line of text
245 line
246 line of text
247 line
248 line of text
249 line
250 line of text
251 line
252 line of text
253 line
254 line 
255 int(100)
256 -- File opened with mode: wb --
257 line
258 line of text
259 line
260 line of text
261 line
262 line of text
263 line
264 line of text
265 line
266 line of text
267 line
268 line 
269 int(100)
270 -- File opened with mode: w+ --
271 line
272 line of text
273 line
274 line of text
275 line
276 line of text
277 line
278 line of text
279 line
280 line of text
281 line
282 line 
283 int(100)
284 -- File opened with mode: w+b --
285 line
286 line of text
287 line
288 line of text
289 line
290 line of text
291 line
292 line of text
293 line
294 line of text
295 line
296 line 
297 int(100)
298 -- File opened with mode: w+t --
299 line
300 line of text
301 line
302 line of text
303 line
304 line of text
305 line
306 line of text
307 line
308 line of text
309 line
310 line 
311 int(100)
312 -- File opened with mode: a --
313 line
314 line of text
315 line
316 line of text
317 line
318 line of text
319 line
320 line of text
321 line
322 line of text
323 line
324 line 
325 int(100)
326 -- File opened with mode: at --
327 line
328 line of text
329 line
330 line of text
331 line
332 line of text
333 line
334 line of text
335 line
336 line of text
337 line
338 line 
339 int(100)
340 -- File opened with mode: ab --
341 line
342 line of text
343 line
344 line of text
345 line
346 line of text
347 line
348 line of text
349 line
350 line of text
351 line
352 line 
353 int(100)
354 -- File opened with mode: a+ --
355 line
356 line of text
357 line
358 line of text
359 line
360 line of text
361 line
362 line of text
363 line
364 line of text
365 line
366 line 
367 int(100)
368 -- File opened with mode: a+b --
369 line
370 line of text
371 line
372 line of text
373 line
374 line of text
375 line
376 line of text
377 line
378 line of text
379 line
380 line 
381 int(100)
382 -- File opened with mode: a+t --
383 line
384 line of text
385 line
386 line of text
387 line
388 line of text
389 line
390 line of text
391 line
392 line of text
393 line
394 line 
395 int(100)
396 -- File opened with mode: x --
397 line
398 line of text
399 line
400 line of text
401 line
402 line of text
403 line
404 line of text
405 line
406 line of text
407 line
408 line 
409 int(100)
410 -- File opened with mode: xb --
411 line
412 line of text
413 line
414 line of text
415 line
416 line of text
417 line
418 line of text
419 line
420 line of text
421 line
422 line 
423 int(100)
424 -- File opened with mode: xt --
425 line
426 line of text
427 line
428 line of text
429 line
430 line of text
431 line
432 line of text
433 line
434 line of text
435 line
436 line 
437 int(100)
438 -- File opened with mode: x+ --
439 line
440 line of text
441 line
442 line of text
443 line
444 line of text
445 line
446 line of text
447 line
448 line of text
449 line
450 line 
451 int(100)
452 -- File opened with mode: x+b --
453 line
454 line of text
455 line
456 line of text
457 line
458 line of text
459 line
460 line of text
461 line
462 line of text
463 line
464 line 
465 int(100)
466 -- File opened with mode: x+t --
467 line
468 line of text
469 line
470 line of text
471 line
472 line of text
473 line
474 line of text
475 line
476 line of text
477 line
478 line 
479 int(100)
480 Done