fgetc

fgetc

(PHP 4, PHP 5, PHP 7)

fgetcGets character from file pointer

Description

string fgetc ( resource $handle )

Gets a character from the given file pointer.

Parameters

handle

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