PHP Manual
Prev |  | Next

# gzgetc

gzgetc -- get character from gz-file pointer

## Description

`string gzgetc`(int zp);

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

The gz-file pointer must be valid, and must point to a file successfully opened by gzopen().

See also gzopen(), and gzgets().

Prev | Home | Next
gzfile | Up | gzgets