feof

(PHP 3, PHP 4 >= 4.0.0)

feof -- Verifica si el apuntador a un fichero está al final del fichero (end-of-file)

Descripción

int feof (int fp)

Devuelve TRUE si el apuntador del fichero está en EOF o si ocurre un error; en otro caso devuelve FALSE.

The file pointer must be valid, and must point to a file El apuntador al fichero debe ser válido, y debe apuntar a un fichero abierto con éxito por fopen(), popen(), o fsockopen().