import zend standard tests
[hiphop-php.git] / hphp / test / zend / bad / ext-standard-file / fseek_ftell_rewind_variation2-win32.php.expectf
blob6e780668b20d531bc74be9551642c2c637c68b37
1 *** Testing fseek(), ftell(), rewind() : default whence & all w and x modes ***
3 -- File having data of type text_with_new_line --
4 -- File opened in mode w --
5 -- Testing fseek() without using argument whence --
6 int(-1)
7 int(0)
8 bool(false)
9 int(0)
10 int(0)
11 bool(false)
12 int(0)
13 int(1)
14 bool(false)
15 int(0)
16 int(513)
17 bool(false)
18 int(512)
19 -- File opened in mode wb --
20 -- Testing fseek() without using argument whence --
21 int(-1)
22 int(0)
23 bool(false)
24 int(0)
25 int(0)
26 bool(false)
27 int(0)
28 int(1)
29 bool(false)
30 int(0)
31 int(513)
32 bool(false)
33 int(512)
34 -- File opened in mode wt --
35 -- Testing fseek() without using argument whence --
36 int(-1)
37 int(0)
38 bool(false)
39 int(0)
40 int(0)
41 bool(false)
42 int(0)
43 int(1)
44 bool(false)
45 int(0)
46 int(513)
47 bool(false)
48 int(569)
49 -- File opened in mode w+ --
50 -- Testing fseek() without using argument whence --
51 int(-1)
52 int(0)
53 bool(false)
54 int(0)
55 int(0)
56 bool(false)
57 int(0)
58 int(1)
59 bool(false)
60 int(0)
61 int(513)
62 bool(false)
63 int(512)
64 -- File opened in mode w+b --
65 -- Testing fseek() without using argument whence --
66 int(-1)
67 int(0)
68 bool(false)
69 int(0)
70 int(0)
71 bool(false)
72 int(0)
73 int(1)
74 bool(false)
75 int(0)
76 int(513)
77 bool(false)
78 int(512)
79 -- File opened in mode w+t --
80 -- Testing fseek() without using argument whence --
81 int(-1)
82 int(0)
83 bool(false)
84 int(0)
85 int(0)
86 bool(false)
87 int(0)
88 int(1)
89 bool(false)
90 int(0)
91 int(513)
92 bool(false)
93 int(569)
94 -- File opened in mode x --
95 -- Testing fseek() without using argument whence --
96 int(-1)
97 int(0)
98 bool(false)
99 int(0)
100 int(0)
101 bool(false)
102 int(0)
103 int(1)
104 bool(false)
105 int(0)
106 int(513)
107 bool(false)
108 int(512)
109 -- File opened in mode xb --
110 -- Testing fseek() without using argument whence --
111 int(-1)
112 int(0)
113 bool(false)
114 int(0)
115 int(0)
116 bool(false)
117 int(0)
118 int(1)
119 bool(false)
120 int(0)
121 int(513)
122 bool(false)
123 int(512)
124 -- File opened in mode xt --
125 -- Testing fseek() without using argument whence --
126 int(-1)
127 int(0)
128 bool(false)
129 int(0)
130 int(0)
131 bool(false)
132 int(0)
133 int(1)
134 bool(false)
135 int(0)
136 int(513)
137 bool(false)
138 int(569)
139 -- File opened in mode x+ --
140 -- Testing fseek() without using argument whence --
141 int(-1)
142 int(0)
143 bool(false)
144 int(0)
145 int(0)
146 bool(false)
147 int(0)
148 int(1)
149 bool(false)
150 int(0)
151 int(513)
152 bool(false)
153 int(512)
154 -- File opened in mode x+b --
155 -- Testing fseek() without using argument whence --
156 int(-1)
157 int(0)
158 bool(false)
159 int(0)
160 int(0)
161 bool(false)
162 int(0)
163 int(1)
164 bool(false)
165 int(0)
166 int(513)
167 bool(false)
168 int(512)
169 -- File opened in mode x+t --
170 -- Testing fseek() without using argument whence --
171 int(-1)
172 int(0)
173 bool(false)
174 int(0)
175 int(0)
176 bool(false)
177 int(0)
178 int(1)
179 bool(false)
180 int(0)
181 int(513)
182 bool(false)
183 int(569)
185 -- File having data of type alphanumeric --
186 -- File opened in mode w --
187 -- Testing fseek() without using argument whence --
188 int(-1)
189 int(0)
190 bool(false)
191 int(0)
192 int(0)
193 bool(false)
194 int(0)
195 int(1)
196 bool(false)
197 int(0)
198 int(513)
199 bool(false)
200 int(512)
201 -- File opened in mode wb --
202 -- Testing fseek() without using argument whence --
203 int(-1)
204 int(0)
205 bool(false)
206 int(0)
207 int(0)
208 bool(false)
209 int(0)
210 int(1)
211 bool(false)
212 int(0)
213 int(513)
214 bool(false)
215 int(512)
216 -- File opened in mode wt --
217 -- Testing fseek() without using argument whence --
218 int(-1)
219 int(0)
220 bool(false)
221 int(0)
222 int(0)
223 bool(false)
224 int(0)
225 int(1)
226 bool(false)
227 int(0)
228 int(513)
229 bool(false)
230 int(512)
231 -- File opened in mode w+ --
232 -- Testing fseek() without using argument whence --
233 int(-1)
234 int(0)
235 bool(false)
236 int(0)
237 int(0)
238 bool(false)
239 int(0)
240 int(1)
241 bool(false)
242 int(0)
243 int(513)
244 bool(false)
245 int(512)
246 -- File opened in mode w+b --
247 -- Testing fseek() without using argument whence --
248 int(-1)
249 int(0)
250 bool(false)
251 int(0)
252 int(0)
253 bool(false)
254 int(0)
255 int(1)
256 bool(false)
257 int(0)
258 int(513)
259 bool(false)
260 int(512)
261 -- File opened in mode w+t --
262 -- Testing fseek() without using argument whence --
263 int(-1)
264 int(0)
265 bool(false)
266 int(0)
267 int(0)
268 bool(false)
269 int(0)
270 int(1)
271 bool(false)
272 int(0)
273 int(513)
274 bool(false)
275 int(512)
276 -- File opened in mode x --
277 -- Testing fseek() without using argument whence --
278 int(-1)
279 int(0)
280 bool(false)
281 int(0)
282 int(0)
283 bool(false)
284 int(0)
285 int(1)
286 bool(false)
287 int(0)
288 int(513)
289 bool(false)
290 int(512)
291 -- File opened in mode xb --
292 -- Testing fseek() without using argument whence --
293 int(-1)
294 int(0)
295 bool(false)
296 int(0)
297 int(0)
298 bool(false)
299 int(0)
300 int(1)
301 bool(false)
302 int(0)
303 int(513)
304 bool(false)
305 int(512)
306 -- File opened in mode xt --
307 -- Testing fseek() without using argument whence --
308 int(-1)
309 int(0)
310 bool(false)
311 int(0)
312 int(0)
313 bool(false)
314 int(0)
315 int(1)
316 bool(false)
317 int(0)
318 int(513)
319 bool(false)
320 int(512)
321 -- File opened in mode x+ --
322 -- Testing fseek() without using argument whence --
323 int(-1)
324 int(0)
325 bool(false)
326 int(0)
327 int(0)
328 bool(false)
329 int(0)
330 int(1)
331 bool(false)
332 int(0)
333 int(513)
334 bool(false)
335 int(512)
336 -- File opened in mode x+b --
337 -- Testing fseek() without using argument whence --
338 int(-1)
339 int(0)
340 bool(false)
341 int(0)
342 int(0)
343 bool(false)
344 int(0)
345 int(1)
346 bool(false)
347 int(0)
348 int(513)
349 bool(false)
350 int(512)
351 -- File opened in mode x+t --
352 -- Testing fseek() without using argument whence --
353 int(-1)
354 int(0)
355 bool(false)
356 int(0)
357 int(0)
358 bool(false)
359 int(0)
360 int(1)
361 bool(false)
362 int(0)
363 int(513)
364 bool(false)
365 int(512)
366 Done