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.
Code:if (feof($file)) echo "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.
Code:if (feof($file)) echo "End of file";
Bookmarks