Lines Matching refs:fgets

2 Test fgets() function : usage variations - seek n read
20 echo "*** Testing fgets() : usage variations ***\n";
25 echo "\n-- Testing fgets() with file opened using mode $file_mode --\n";
39 echo "-- fgets() with location set by fseek() with default length --\n";
42 var_dump( fgets($file_handle ) );
46 echo "-- fgets() with location set by fseek() with length = 20 --\n";
49 var_dump( fgets($file_handle, 20 ) ); // expected 19 chars
64 *** Testing fgets() : usage variations ***
66 -- Testing fgets() with file opened using mode w+ --
68 -- fgets() with location set by fseek() with default length --
74 -- fgets() with location set by fseek() with length = 20 --
81 -- fgets() with location set by fseek() with default length --
87 -- fgets() with location set by fseek() with length = 20 --
94 -- fgets() with location set by fseek() with default length --
101 -- fgets() with location set by fseek() with length = 20 --
109 -- fgets() with location set by fseek() with default length --
115 -- fgets() with location set by fseek() with length = 20 --
122 -- Testing fgets() with file opened using mode w+b --
124 -- fgets() with location set by fseek() with default length --
130 -- fgets() with location set by fseek() with length = 20 --
137 -- fgets() with location set by fseek() with default length --
143 -- fgets() with location set by fseek() with length = 20 --
150 -- fgets() with location set by fseek() with default length --
157 -- fgets() with location set by fseek() with length = 20 --
165 -- fgets() with location set by fseek() with default length --
171 -- fgets() with location set by fseek() with length = 20 --
178 -- Testing fgets() with file opened using mode w+t --
180 -- fgets() with location set by fseek() with default length --
186 -- fgets() with location set by fseek() with length = 20 --
193 -- fgets() with location set by fseek() with default length --
199 -- fgets() with location set by fseek() with length = 20 --
206 -- fgets() with location set by fseek() with default length --
213 -- fgets() with location set by fseek() with length = 20 --
221 -- fgets() with location set by fseek() with default length --
227 -- fgets() with location set by fseek() with length = 20 --
234 -- Testing fgets() with file opened using mode a+ --
236 -- fgets() with location set by fseek() with default length --
242 -- fgets() with location set by fseek() with length = 20 --
249 -- fgets() with location set by fseek() with default length --
255 -- fgets() with location set by fseek() with length = 20 --
262 -- fgets() with location set by fseek() with default length --
269 -- fgets() with location set by fseek() with length = 20 --
277 -- fgets() with location set by fseek() with default length --
283 -- fgets() with location set by fseek() with length = 20 --
290 -- Testing fgets() with file opened using mode a+b --
292 -- fgets() with location set by fseek() with default length --
298 -- fgets() with location set by fseek() with length = 20 --
305 -- fgets() with location set by fseek() with default length --
311 -- fgets() with location set by fseek() with length = 20 --
318 -- fgets() with location set by fseek() with default length --
325 -- fgets() with location set by fseek() with length = 20 --
333 -- fgets() with location set by fseek() with default length --
339 -- fgets() with location set by fseek() with length = 20 --
346 -- Testing fgets() with file opened using mode a+t --
348 -- fgets() with location set by fseek() with default length --
354 -- fgets() with location set by fseek() with length = 20 --
361 -- fgets() with location set by fseek() with default length --
367 -- fgets() with location set by fseek() with length = 20 --
374 -- fgets() with location set by fseek() with default length --
381 -- fgets() with location set by fseek() with length = 20 --
389 -- fgets() with location set by fseek() with default length --
395 -- fgets() with location set by fseek() with length = 20 --
402 -- Testing fgets() with file opened using mode x+ --
404 -- fgets() with location set by fseek() with default length --
410 -- fgets() with location set by fseek() with length = 20 --
417 -- fgets() with location set by fseek() with default length --
423 -- fgets() with location set by fseek() with length = 20 --
430 -- fgets() with location set by fseek() with default length --
437 -- fgets() with location set by fseek() with length = 20 --
445 -- fgets() with location set by fseek() with default length --
451 -- fgets() with location set by fseek() with length = 20 --
458 -- Testing fgets() with file opened using mode x+b --
460 -- fgets() with location set by fseek() with default length --
466 -- fgets() with location set by fseek() with length = 20 --
473 -- fgets() with location set by fseek() with default length --
479 -- fgets() with location set by fseek() with length = 20 --
486 -- fgets() with location set by fseek() with default length --
493 -- fgets() with location set by fseek() with length = 20 --
501 -- fgets() with location set by fseek() with default length --
507 -- fgets() with location set by fseek() with length = 20 --
514 -- Testing fgets() with file opened using mode x+t --
516 -- fgets() with location set by fseek() with default length --
522 -- fgets() with location set by fseek() with length = 20 --
529 -- fgets() with location set by fseek() with default length --
535 -- fgets() with location set by fseek() with length = 20 --
542 -- fgets() with location set by fseek() with default length --
549 -- fgets() with location set by fseek() with length = 20 --
557 -- fgets() with location set by fseek() with default length --
563 -- fgets() with location set by fseek() with length = 20 --