Query: gzeof
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
GZEOF(3) 1 GZEOF(3) gzeof - Test forEOFon a gz-file pointerSYNOPSISint gzeof (resource $zp)DESCRIPTIONTests the given GZ file pointer for EOF.PARAMETERSo $zp - The gz-file pointer. It must be valid, and must point to a file successfully opened by gzopen(3).RETURN VALUESReturns TRUE if the gz-file pointer is at EOF or an error occurs; otherwise returns FALSE.EXAMPLESExample #1 gzeof(3) example <?php $gz = gzopen('somefile.gz', 'r'); while (!gzeof($gz)) { echo gzgetc($gz); } gzclose($gz); ?> PHP Documentation Group GZEOF(3)
Related Man Pages |
---|
fgets(3) - php |
fgetss(3) - php |
fgetc(3) - php |
gzread(3) - php |
rewind(3) - php |