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