/** * @see File_Archive_Reader::skip() */ function skip($length = -1) { if ($length == -1) { do { $tmp = gzread($this->gzfile, 8192); $this->filePos += strlen($tmp); } while ($tmp != ''); } else { if (@gzseek($this->gzfile, $this->filePos + $length) === -1) { return parent::skip($length); } else { $this->filePos += $length; return $length; } } }