PHP feof() function

Check End-of-file
The feof() function checks if the "end-of-file" (EOF) has been reached.

The feof() function is useful for looping through data of unknown length.

if (feof($file)) echo "End of file";

No comments:

Post a Comment