gzrewind

(PHP 4, PHP 5, PHP 7)

gzrewindRewind the position of a gz-file pointer

˵��

gzrewind ( resource $zp ) : bool

Sets the file position indicator of the given gz-file pointer to the beginning of the file stream.

����

zp

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

����ֵ

�ɹ�ʱ���� TRUE�� ������ʧ��ʱ���� FALSE��

�μ�

  • gzseek() - Seek on a gz-file pointer
  • gztell() - Tell gz-file pointer read/write position