Home > PHP > Function > Zlib > gzeof()

gzeof()

gzeof - Test for
EOFon a gz-file pointer

Syntax

int gzeof (resource $zp)

Arguments

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

Description

Tests the given GZ file pointer for EOF.

Version

PHP 4, 5

Return value

Returns TRUE if the gz-file pointer is at EOFor an error occurs; otherwise returns FALSE.