bool feof ( resource $handle );
feof, tests to see if the resource is at the end-of-file. It lets you know if you are at the end of the file you are working with.
- A valid file pointer that is currently open and available, which was opened by fopen for example.
TRUE if the the file pointer is at the end of the file or if an error occurs (such as a socket timeout); else you’ll get a
Don’t repeat yourself. Don’t repeat yourself. Don’t repeat yourself.
More coming soon…keep checking back.