Lines Matching refs:fseek
2 Test fseek(), ftell() & rewind() functions : Basic functionality - all r and a modes
5 /* Prototype: int fseek ( resource $handle, int $offset [, int $whence] );
18 /* Testing fseek(),ftell(),rewind() functions on all read and append modes */
19 echo "*** Testing fseek(), ftell(), rewind() : basic operations ***\n";
28 /* open the file using $files_modes and perform fseek(),ftell() and rewind() on it */
47 echo "-- Testing fseek() with whence = $whence_string[$whence] --\n";
48 var_dump( fseek($file_handle,10,$whence) ); //expecting int(0)
64 *** Testing fseek(), ftell(), rewind() : basic operations ***
70 -- Testing fseek() with whence = SEEK_SET --
74 -- Testing fseek() with whence = SEEK_CUR --
78 -- Testing fseek() with whence = SEEK_END --
86 -- Testing fseek() with whence = SEEK_SET --
90 -- Testing fseek() with whence = SEEK_CUR --
94 -- Testing fseek() with whence = SEEK_END --
102 -- Testing fseek() with whence = SEEK_SET --
106 -- Testing fseek() with whence = SEEK_CUR --
110 -- Testing fseek() with whence = SEEK_END --
118 -- Testing fseek() with whence = SEEK_SET --
122 -- Testing fseek() with whence = SEEK_CUR --
126 -- Testing fseek() with whence = SEEK_END --
134 -- Testing fseek() with whence = SEEK_SET --
138 -- Testing fseek() with whence = SEEK_CUR --
142 -- Testing fseek() with whence = SEEK_END --
150 -- Testing fseek() with whence = SEEK_SET --
154 -- Testing fseek() with whence = SEEK_CUR --
158 -- Testing fseek() with whence = SEEK_END --
166 -- Testing fseek() with whence = SEEK_SET --
170 -- Testing fseek() with whence = SEEK_CUR --
174 -- Testing fseek() with whence = SEEK_END --
182 -- Testing fseek() with whence = SEEK_SET --
186 -- Testing fseek() with whence = SEEK_CUR --
190 -- Testing fseek() with whence = SEEK_END --
198 -- Testing fseek() with whence = SEEK_SET --
202 -- Testing fseek() with whence = SEEK_CUR --
206 -- Testing fseek() with whence = SEEK_END --
214 -- Testing fseek() with whence = SEEK_SET --
218 -- Testing fseek() with whence = SEEK_CUR --
222 -- Testing fseek() with whence = SEEK_END --
230 -- Testing fseek() with whence = SEEK_SET --
234 -- Testing fseek() with whence = SEEK_CUR --
238 -- Testing fseek() with whence = SEEK_END --
246 -- Testing fseek() with whence = SEEK_SET --
250 -- Testing fseek() with whence = SEEK_CUR --
254 -- Testing fseek() with whence = SEEK_END --
264 -- Testing fseek() with whence = SEEK_SET --
268 -- Testing fseek() with whence = SEEK_CUR --
272 -- Testing fseek() with whence = SEEK_END --
280 -- Testing fseek() with whence = SEEK_SET --
284 -- Testing fseek() with whence = SEEK_CUR --
288 -- Testing fseek() with whence = SEEK_END --
296 -- Testing fseek() with whence = SEEK_SET --
300 -- Testing fseek() with whence = SEEK_CUR --
304 -- Testing fseek() with whence = SEEK_END --
312 -- Testing fseek() with whence = SEEK_SET --
316 -- Testing fseek() with whence = SEEK_CUR --
320 -- Testing fseek() with whence = SEEK_END --
328 -- Testing fseek() with whence = SEEK_SET --
332 -- Testing fseek() with whence = SEEK_CUR --
336 -- Testing fseek() with whence = SEEK_END --
344 -- Testing fseek() with whence = SEEK_SET --
348 -- Testing fseek() with whence = SEEK_CUR --
352 -- Testing fseek() with whence = SEEK_END --
360 -- Testing fseek() with whence = SEEK_SET --
364 -- Testing fseek() with whence = SEEK_CUR --
368 -- Testing fseek() with whence = SEEK_END --
376 -- Testing fseek() with whence = SEEK_SET --
380 -- Testing fseek() with whence = SEEK_CUR --
384 -- Testing fseek() with whence = SEEK_END --
392 -- Testing fseek() with whence = SEEK_SET --
396 -- Testing fseek() with whence = SEEK_CUR --
400 -- Testing fseek() with whence = SEEK_END --
408 -- Testing fseek() with whence = SEEK_SET --
412 -- Testing fseek() with whence = SEEK_CUR --
416 -- Testing fseek() with whence = SEEK_END --
424 -- Testing fseek() with whence = SEEK_SET --
428 -- Testing fseek() with whence = SEEK_CUR --
432 -- Testing fseek() with whence = SEEK_END --
440 -- Testing fseek() with whence = SEEK_SET --
444 -- Testing fseek() with whence = SEEK_CUR --
448 -- Testing fseek() with whence = SEEK_END --