Lines Matching refs:fseek
2 Test fseek(), ftell() & rewind() functions : basic functionality - all w and x modes
11 /* Prototype: int fseek ( resource $handle, int $offset [, int $whence] );
24 /* Testing fseek(),ftell(),rewind() functions on all write and create with write modes */
26 echo "*** Testing fseek(), ftell(), rewind() : basic operations ***\n";
40 /* open the file using $files_modes and perform fseek(),ftell() and rewind() on it */
59 echo "-- Testing fseek() with whence = $whence_string[$whence] --\n";
60 var_dump( fseek($file_handle, 10, $whence) ); //expecting int(0)
75 *** Testing fseek(), ftell(), rewind() : basic operations ***
81 -- Testing fseek() with whence = SEEK_SET --
85 -- Testing fseek() with whence = SEEK_CUR --
89 -- Testing fseek() with whence = SEEK_END --
97 -- Testing fseek() with whence = SEEK_SET --
101 -- Testing fseek() with whence = SEEK_CUR --
105 -- Testing fseek() with whence = SEEK_END --
113 -- Testing fseek() with whence = SEEK_SET --
117 -- Testing fseek() with whence = SEEK_CUR --
121 -- Testing fseek() with whence = SEEK_END --
129 -- Testing fseek() with whence = SEEK_SET --
133 -- Testing fseek() with whence = SEEK_CUR --
137 -- Testing fseek() with whence = SEEK_END --
145 -- Testing fseek() with whence = SEEK_SET --
149 -- Testing fseek() with whence = SEEK_CUR --
153 -- Testing fseek() with whence = SEEK_END --
161 -- Testing fseek() with whence = SEEK_SET --
165 -- Testing fseek() with whence = SEEK_CUR --
169 -- Testing fseek() with whence = SEEK_END --
177 -- Testing fseek() with whence = SEEK_SET --
181 -- Testing fseek() with whence = SEEK_CUR --
185 -- Testing fseek() with whence = SEEK_END --
193 -- Testing fseek() with whence = SEEK_SET --
197 -- Testing fseek() with whence = SEEK_CUR --
201 -- Testing fseek() with whence = SEEK_END --
209 -- Testing fseek() with whence = SEEK_SET --
213 -- Testing fseek() with whence = SEEK_CUR --
217 -- Testing fseek() with whence = SEEK_END --
225 -- Testing fseek() with whence = SEEK_SET --
229 -- Testing fseek() with whence = SEEK_CUR --
233 -- Testing fseek() with whence = SEEK_END --
241 -- Testing fseek() with whence = SEEK_SET --
245 -- Testing fseek() with whence = SEEK_CUR --
249 -- Testing fseek() with whence = SEEK_END --
257 -- Testing fseek() with whence = SEEK_SET --
261 -- Testing fseek() with whence = SEEK_CUR --
265 -- Testing fseek() with whence = SEEK_END --
275 -- Testing fseek() with whence = SEEK_SET --
279 -- Testing fseek() with whence = SEEK_CUR --
283 -- Testing fseek() with whence = SEEK_END --
291 -- Testing fseek() with whence = SEEK_SET --
295 -- Testing fseek() with whence = SEEK_CUR --
299 -- Testing fseek() with whence = SEEK_END --
307 -- Testing fseek() with whence = SEEK_SET --
311 -- Testing fseek() with whence = SEEK_CUR --
315 -- Testing fseek() with whence = SEEK_END --
323 -- Testing fseek() with whence = SEEK_SET --
327 -- Testing fseek() with whence = SEEK_CUR --
331 -- Testing fseek() with whence = SEEK_END --
339 -- Testing fseek() with whence = SEEK_SET --
343 -- Testing fseek() with whence = SEEK_CUR --
347 -- Testing fseek() with whence = SEEK_END --
355 -- Testing fseek() with whence = SEEK_SET --
359 -- Testing fseek() with whence = SEEK_CUR --
363 -- Testing fseek() with whence = SEEK_END --
371 -- Testing fseek() with whence = SEEK_SET --
375 -- Testing fseek() with whence = SEEK_CUR --
379 -- Testing fseek() with whence = SEEK_END --
387 -- Testing fseek() with whence = SEEK_SET --
391 -- Testing fseek() with whence = SEEK_CUR --
395 -- Testing fseek() with whence = SEEK_END --
403 -- Testing fseek() with whence = SEEK_SET --
407 -- Testing fseek() with whence = SEEK_CUR --
411 -- Testing fseek() with whence = SEEK_END --
419 -- Testing fseek() with whence = SEEK_SET --
423 -- Testing fseek() with whence = SEEK_CUR --
427 -- Testing fseek() with whence = SEEK_END --
435 -- Testing fseek() with whence = SEEK_SET --
439 -- Testing fseek() with whence = SEEK_CUR --
443 -- Testing fseek() with whence = SEEK_END --
451 -- Testing fseek() with whence = SEEK_SET --
455 -- Testing fseek() with whence = SEEK_CUR --
459 -- Testing fseek() with whence = SEEK_END --