gzgetc(3) php man page | unix.com

Man Page: gzgetc

Operating Environment: php

Section: 3

GZGETC(3)								 1								 GZGETC(3)

gzgetc - Get character from gz-file pointer

SYNOPSIS
string gzgetc (resource $zp)
DESCRIPTION
Returns a string containing a single (uncompressed) character read from the given gz-file pointer.
PARAMETERS
o $zp - The gz-file pointer. It must be valid, and must point to a file successfully opened by gzopen(3).
RETURN VALUES
The uncompressed character or FALSE on EOF (unlike gzeof(3)).
EXAMPLES
Example #1 gzgetc(3) example <?php $gz = gzopen('somefile.gz', 'r'); while (!gzeof($gz)) { echo gzgetc($gz); } gzclose($gz); ?>
SEE ALSO
gzopen(3), gzgets(3). PHP Documentation Group GZGETC(3)
Related Man Pages
feof(3) - php
fgetcsv(3) - php
fgetss(3) - php
bzread(3) - php
gzwrite(3) - php
Similar Topics in the Unix Linux Community
Please Welcome Don Cragun as Lead Moderator
Please Welcome Ravinder Singh to the Moderation Team
Denial Of Service Attack Update
Please Welcome Nicki Paul to the Moderator Team!