PHP Manual
Prev |  | Next

# gztell

(PHP 3 <= 3.0.18, PHP 4 >= 4.0.0)

gztell -- Tell gz-file pointer read/write position

## Description

``int gztell` (int zp)`

Returns the position of the file pointer referenced by `zp`; i.e., its offset into the file stream.

If an error occurs, returns `FALSE`.

The file pointer must be valid, and must point to a file successfully opened by gzopen().

See also gzopen(), gzseek() and gzrewind().

Prev | Home | Next
gzseek | Up | gzwrite