Query: gzgetc
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
GZGETC(3) 1 GZGETC(3) gzgetc - Get character from gz-file pointerSYNOPSISstring gzgetc (resource $zp)DESCRIPTIONReturns a string containing a single (uncompressed) character read from the given gz-file pointer.PARAMETERSo $zp - The gz-file pointer. It must be valid, and must point to a file successfully opened by gzopen(3).RETURN VALUESThe uncompressed character or FALSE on EOF (unlike gzeof(3)).EXAMPLESExample #1 gzgetc(3) example <?php $gz = gzopen('somefile.gz', 'r'); while (!gzeof($gz)) { echo gzgetc($gz); } gzclose($gz); ?>SEE ALSOgzopen(3), gzgets(3). PHP Documentation Group GZGETC(3)
Related Man Pages |
---|
fgetcsv(3) - php |
gzopen(3) - php |
bzread(3) - php |
fgetc(3) - php |
gzwrite(3) - php |
Similar Topics in the Unix Linux Community |
---|
UNIX.COM 2017 Year End Summary |
Please Welcome Don Cragun as Lead Moderator |
Status of UNIX.COM Forum Transformation |
Please Welcome Ravinder Singh to the Moderation Team |