fgetc

(PHP 3, PHP 4 )

fgetc -- Gets character from file pointer

Description

string fgetc ( resource handle)

Returns a string containing a single character read from the file pointed to by handle. Returns FALSE on EOF.

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

Замечание: This function is binary safe.

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