array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'function.gztell.php', 1 => 'gztell', ), 'up' => array ( 0 => 'ref.zlib.php', 1 => 'Zlib 函数', ), 'prev' => array ( 0 => 'function.gzseek.php', 1 => 'gzseek', ), 'next' => array ( 0 => 'function.gzuncompress.php', 1 => 'gzuncompress', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/zlib/functions/gztell.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 4, PHP 5, PHP 7, PHP 8)
gztell — Tell gz-file pointer read/write position
Gets the position of the given file pointer; i.e., its offset into the uncompressed file stream.
stream
The gz-file pointer. It must be valid, and must point to a file successfully opened by gzopen().
The position of the file pointer or false
if an error occurs.