Lines Matching refs:fseek
2 Test fseek(), ftell() & rewind() functions : basic functionality - all w and x modes
10 /* Prototype: int fseek ( resource $handle, int $offset [, int $whence] );
23 /* Testing fseek(),ftell(),rewind() functions on all write and create with write modes */
25 echo "*** Testing fseek(), ftell(), rewind() : basic operations ***\n";
39 /* open the file using $files_modes and perform fseek(),ftell() and rewind() on it */
58 echo "-- Testing fseek() with whence = $whence_string[$whence] --\n";
59 var_dump( fseek($file_handle, 10, $whence) ); //expecting int(0)
74 *** Testing fseek(), ftell(), rewind() : basic operations ***
80 -- Testing fseek() with whence = SEEK_SET --
84 -- Testing fseek() with whence = SEEK_CUR --
88 -- Testing fseek() with whence = SEEK_END --
96 -- Testing fseek() with whence = SEEK_SET --
100 -- Testing fseek() with whence = SEEK_CUR --
104 -- Testing fseek() with whence = SEEK_END --
112 -- Testing fseek() with whence = SEEK_SET --
116 -- Testing fseek() with whence = SEEK_CUR --
120 -- Testing fseek() with whence = SEEK_END --
128 -- Testing fseek() with whence = SEEK_SET --
132 -- Testing fseek() with whence = SEEK_CUR --
136 -- Testing fseek() with whence = SEEK_END --
144 -- Testing fseek() with whence = SEEK_SET --
148 -- Testing fseek() with whence = SEEK_CUR --
152 -- Testing fseek() with whence = SEEK_END --
160 -- Testing fseek() with whence = SEEK_SET --
164 -- Testing fseek() with whence = SEEK_CUR --
168 -- Testing fseek() with whence = SEEK_END --
176 -- Testing fseek() with whence = SEEK_SET --
180 -- Testing fseek() with whence = SEEK_CUR --
184 -- Testing fseek() with whence = SEEK_END --
192 -- Testing fseek() with whence = SEEK_SET --
196 -- Testing fseek() with whence = SEEK_CUR --
200 -- Testing fseek() with whence = SEEK_END --
208 -- Testing fseek() with whence = SEEK_SET --
212 -- Testing fseek() with whence = SEEK_CUR --
216 -- Testing fseek() with whence = SEEK_END --
224 -- Testing fseek() with whence = SEEK_SET --
228 -- Testing fseek() with whence = SEEK_CUR --
232 -- Testing fseek() with whence = SEEK_END --
240 -- Testing fseek() with whence = SEEK_SET --
244 -- Testing fseek() with whence = SEEK_CUR --
248 -- Testing fseek() with whence = SEEK_END --
256 -- Testing fseek() with whence = SEEK_SET --
260 -- Testing fseek() with whence = SEEK_CUR --
264 -- Testing fseek() with whence = SEEK_END --
274 -- Testing fseek() with whence = SEEK_SET --
278 -- Testing fseek() with whence = SEEK_CUR --
282 -- Testing fseek() with whence = SEEK_END --
290 -- Testing fseek() with whence = SEEK_SET --
294 -- Testing fseek() with whence = SEEK_CUR --
298 -- Testing fseek() with whence = SEEK_END --
306 -- Testing fseek() with whence = SEEK_SET --
310 -- Testing fseek() with whence = SEEK_CUR --
314 -- Testing fseek() with whence = SEEK_END --
322 -- Testing fseek() with whence = SEEK_SET --
326 -- Testing fseek() with whence = SEEK_CUR --
330 -- Testing fseek() with whence = SEEK_END --
338 -- Testing fseek() with whence = SEEK_SET --
342 -- Testing fseek() with whence = SEEK_CUR --
346 -- Testing fseek() with whence = SEEK_END --
354 -- Testing fseek() with whence = SEEK_SET --
358 -- Testing fseek() with whence = SEEK_CUR --
362 -- Testing fseek() with whence = SEEK_END --
370 -- Testing fseek() with whence = SEEK_SET --
374 -- Testing fseek() with whence = SEEK_CUR --
378 -- Testing fseek() with whence = SEEK_END --
386 -- Testing fseek() with whence = SEEK_SET --
390 -- Testing fseek() with whence = SEEK_CUR --
394 -- Testing fseek() with whence = SEEK_END --
402 -- Testing fseek() with whence = SEEK_SET --
406 -- Testing fseek() with whence = SEEK_CUR --
410 -- Testing fseek() with whence = SEEK_END --
418 -- Testing fseek() with whence = SEEK_SET --
422 -- Testing fseek() with whence = SEEK_CUR --
426 -- Testing fseek() with whence = SEEK_END --
434 -- Testing fseek() with whence = SEEK_SET --
438 -- Testing fseek() with whence = SEEK_CUR --
442 -- Testing fseek() with whence = SEEK_END --
450 -- Testing fseek() with whence = SEEK_SET --
454 -- Testing fseek() with whence = SEEK_CUR --
458 -- Testing fseek() with whence = SEEK_END --