update : 2015.11.03
php.shukuma.com

검색:
 
 
Rewind the position of a gz-file pointer

gzrewind

(PHP 4, PHP 5)

gzrewindRewind the position of a gz-file pointer

설명

bool gzrewind ( resource $zp )

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