gzgetss

(PHP 4, PHP 5, PHP 7) Get line from gz-file pointer and strip HTML tags string gzgetss ( resource $zp, int $length [, string $allowable_tags ] ) Identical to gzgets(), except that gzgetss() attempts to strip any HTML and PHP tags from the text it reads. Parameters: zp The gz-file pointer. It must be valid, and must point to a file successfully opened by gzopen().

gzinflate

(PHP 4 >= 4.0.4, PHP 5, PHP 7) Inflate a deflated string string gzinflate ( string $data [, int $length = 0 ] ) This function inflates a deflated string. Parameters: data The data compressed by gzdeflate(). length The maximum length of data to decode. Returns: The original uncompressed data or FALSE on erro

gzopen

(PHP 4, PHP 5, PHP 7) Open gz-file resource gzopen ( string $filename, string $mode [, int $use_include_path = 0 ] ) Opens a gzip (.gz) file for reading or writing. gzopen() can be used to read a file which is not in gzip format; in this case gzread() will directly read from the file without decompression. Parameters: filename The file name. mode

gzpassthru

(PHP 4, PHP 5, PHP 7) Output all remaining data on a gz-file pointer int gzpassthru ( resource $zp ) Reads to EOF on the given gz-file pointer from the current position and writes the (uncompressed) results to standard output. Note: You may need to call gzrewind() to reset the file pointer to the beginning of the file if you have already written data to it. Tip If you just want to dump the contents of a file to the

gzputs

(PHP 4, PHP 5, PHP 7) Alias of gzwrite() This function is an alias of: gzwrite().

gzread

(PHP 4, PHP 5, PHP 7) Binary-safe gz-file read string gzread ( resource $zp, int $length ) gzread() reads up to length bytes from the given gz-file pointer. Reading stops when length (uncompressed) bytes have been read or EOF is reached, whichever comes first. Parameters: zp The gz-file pointer. It must be valid, and must point to a file successfully opened by gzopen().

gzrewind

(PHP 4, PHP 5, PHP 7) Rewind 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. Parameters: zp The gz-file pointer. It must be valid, and must point to a file successfully opened by gzopen(). Returns: Returns TRUE on success or FALSE o

gzseek

(PHP 4, PHP 5, PHP 7) Seek on a gz-file pointer int gzseek ( resource $zp, int $offset [, int $whence = SEEK_SET ] ) Sets the file position indicator for the given file pointer to the given offset byte into the file stream. Equivalent to calling (in C) gzseek(zp, offset, SEEK_SET). If the file is opened for reading, this function is emulated but can be extremely slow. If the file is opened for writing, only forward seeks

gztell

(PHP 4, PHP 5, PHP 7) Tell gz-file pointer read/write position int gztell ( resource $zp ) Gets the position of the given file pointer; i.e., its offset into the uncompressed file stream. Parameters: zp The gz-file pointer. It must be valid, and must point to a file successfully opened by gzopen(). Returns: The position of the file pointer or FAL

gzuncompress

(PHP 4 >= 4.0.1, PHP 5, PHP 7) Uncompress a compressed string string gzuncompress ( string $data [, int $length = 0 ] ) This function uncompress a compressed string. Parameters: data The data compressed by gzcompress(). length The maximum length of data to decode. Returns: The original uncompressed data or