Lines Matching refs:length

2 Test fgets() function : usage variations - read with/without length
6 Prototype: string fgets ( resource $handle [, int $length] );
38 echo "-- fgets() with default length, file pointer at 0 --\n";
43 var_dump( fgets($file_handle) ); // with default length
47 echo "-- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --\n";
71 -- fgets() with default length, file pointer at 0 --
76 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
82 -- fgets() with default length, file pointer at 0 --
87 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
93 -- fgets() with default length, file pointer at 0 --
99 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
106 -- fgets() with default length, file pointer at 0 --
111 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
119 -- fgets() with default length, file pointer at 0 --
124 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
130 -- fgets() with default length, file pointer at 0 --
135 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
141 -- fgets() with default length, file pointer at 0 --
147 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
154 -- fgets() with default length, file pointer at 0 --
159 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
167 -- fgets() with default length, file pointer at 0 --
172 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
178 -- fgets() with default length, file pointer at 0 --
183 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
189 -- fgets() with default length, file pointer at 0 --
195 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
202 -- fgets() with default length, file pointer at 0 --
207 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
215 -- fgets() with default length, file pointer at 0 --
220 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
226 -- fgets() with default length, file pointer at 0 --
231 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
237 -- fgets() with default length, file pointer at 0 --
243 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
250 -- fgets() with default length, file pointer at 0 --
255 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
263 -- fgets() with default length, file pointer at 0 --
268 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
274 -- fgets() with default length, file pointer at 0 --
279 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
285 -- fgets() with default length, file pointer at 0 --
291 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
298 -- fgets() with default length, file pointer at 0 --
303 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
311 -- fgets() with default length, file pointer at 0 --
316 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
322 -- fgets() with default length, file pointer at 0 --
327 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
333 -- fgets() with default length, file pointer at 0 --
339 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
346 -- fgets() with default length, file pointer at 0 --
351 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
359 -- fgets() with default length, file pointer at 0 --
364 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
370 -- fgets() with default length, file pointer at 0 --
375 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
381 -- fgets() with default length, file pointer at 0 --
387 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
394 -- fgets() with default length, file pointer at 0 --
399 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
407 -- fgets() with default length, file pointer at 0 --
412 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
418 -- fgets() with default length, file pointer at 0 --
423 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
429 -- fgets() with default length, file pointer at 0 --
435 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
442 -- fgets() with default length, file pointer at 0 --
447 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
455 -- fgets() with default length, file pointer at 0 --
460 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
466 -- fgets() with default length, file pointer at 0 --
471 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
477 -- fgets() with default length, file pointer at 0 --
483 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
490 -- fgets() with default length, file pointer at 0 --
495 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --