Lines Matching refs:fgets
2 Test fgets() function : usage variations - read when file pointer at EOF
20 echo "*** Testing fgets() : usage variations ***\n";
25 echo "\n-- Testing fgets() with file opened using mode $file_mode --\n";
39 echo "-- fgets() with file pointer pointing at EOF --\n";
40 // seek to end of the file and try fgets()
45 var_dump( fgets($file_handle) ); // try n read a line, none expected
60 *** Testing fgets() : usage variations ***
62 -- Testing fgets() with file opened using mode w+ --
64 -- fgets() with file pointer pointing at EOF --
72 -- fgets() with file pointer pointing at EOF --
80 -- fgets() with file pointer pointing at EOF --
88 -- fgets() with file pointer pointing at EOF --
96 -- Testing fgets() with file opened using mode w+b --
98 -- fgets() with file pointer pointing at EOF --
106 -- fgets() with file pointer pointing at EOF --
114 -- fgets() with file pointer pointing at EOF --
122 -- fgets() with file pointer pointing at EOF --
130 -- Testing fgets() with file opened using mode w+t --
132 -- fgets() with file pointer pointing at EOF --
140 -- fgets() with file pointer pointing at EOF --
148 -- fgets() with file pointer pointing at EOF --
156 -- fgets() with file pointer pointing at EOF --
164 -- Testing fgets() with file opened using mode a+ --
166 -- fgets() with file pointer pointing at EOF --
174 -- fgets() with file pointer pointing at EOF --
182 -- fgets() with file pointer pointing at EOF --
190 -- fgets() with file pointer pointing at EOF --
198 -- Testing fgets() with file opened using mode a+b --
200 -- fgets() with file pointer pointing at EOF --
208 -- fgets() with file pointer pointing at EOF --
216 -- fgets() with file pointer pointing at EOF --
224 -- fgets() with file pointer pointing at EOF --
232 -- Testing fgets() with file opened using mode a+t --
234 -- fgets() with file pointer pointing at EOF --
242 -- fgets() with file pointer pointing at EOF --
250 -- fgets() with file pointer pointing at EOF --
258 -- fgets() with file pointer pointing at EOF --
266 -- Testing fgets() with file opened using mode x+ --
268 -- fgets() with file pointer pointing at EOF --
276 -- fgets() with file pointer pointing at EOF --
284 -- fgets() with file pointer pointing at EOF --
292 -- fgets() with file pointer pointing at EOF --
300 -- Testing fgets() with file opened using mode x+b --
302 -- fgets() with file pointer pointing at EOF --
310 -- fgets() with file pointer pointing at EOF --
318 -- fgets() with file pointer pointing at EOF --
326 -- fgets() with file pointer pointing at EOF --
334 -- Testing fgets() with file opened using mode x+t --
336 -- fgets() with file pointer pointing at EOF --
344 -- fgets() with file pointer pointing at EOF --
352 -- fgets() with file pointer pointing at EOF --
360 -- fgets() with file pointer pointing at EOF --