php man page for gzeof

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 pointer

SYNOPSIS
int gzeof (resource $zp)
DESCRIPTION
Tests the given GZ file pointer for EOF.
PARAMETERS
o $zp - The gz-file pointer. It must be valid, and must point to a file successfully opened by gzopen(3).
RETURN VALUES
Returns TRUE if the gz-file pointer is at EOF or an error occurs; otherwise returns FALSE.
EXAMPLES
Example #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
php_check_syntax(3) - php
fgetss(3) - php
ftell(3) - php
gzgetss(3) - php
gzseek(3) - php
Similar Topics in the Unix Linux Community
Rules for Homework &amp; Coursework Questions Forum
Forum Video Tutorial: How to Use Code Tags
Coming Soon: Upgrade Forum Software (Dec 31 - Jan 1)
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun
Denial Of Service Attack Update