fgetc

(PHP 3, PHP 4 >= 4.0b1)

fgetc -- Gets 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.

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

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