Lines Matching refs:feof
2 Test feof() function : basic functionality
7 echo "*** Testing feof() : basic functionality ***\n";
16 echo "\n*** testing reading complete file using feof to stop ***\n";
19 //feof is not set to true until you try to read past the end of file.
23 while (!feof($h)) {
34 echo "*** writing $count lines, testing feof ***\n";
37 var_dump(feof($h));
40 echo "*** testing feof on unclosed file after a read ***\n";
43 var_dump(feof($h));
47 echo "*** testing feof after a seek to near the beginning ***\n";
49 var_dump(feof($h));
51 echo "*** testing feof after a seek to end ***\n";
53 var_dump(feof($h));
55 echo "*** testing feof after a seek passed the end ***\n";
57 var_dump(feof($h));
62 feof($h);
72 *** Testing feof() : basic functionality ***
74 *** testing reading complete file using feof to stop ***
77 *** writing 10 lines, testing feof ***
88 *** testing feof on unclosed file after a read ***
90 *** testing feof after a seek to near the beginning ***
92 *** testing feof after a seek to end ***
94 *** testing feof after a seek passed the end ***
97 feof(): supplied resource is not a valid stream resource