PHP3 Manual
PrevNext

fgetc

fgetc -- get character from file pointer

Description

string fgetc(int fp);

Returns a string containing a single character read from the file pointed to by fp. Returns FALSE on EOF (as does feof()).

The file pointer must be valid, and must point to a file successfully opened by fopen(), or popen().

See also fopen(), popen(), and fgets().


PrevHomeNext
feofUpfgets