PHP Manual
Prev |  | Next

# gzrewind

gzrewind -- rewind the position of a gz-file pointer

## Description

`int gzrewind`(int zp);

Sets the file position indicator for zp to the beginning of the file stream.

If an error occurs, returns 0.

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

See also gzseek() and gztell().

Prev | Home | Next
gzread | Up | gzseek