gzgets

(PHP 4, PHP 5, PHP 7) Get line from file pointer string gzgets ( resource $zp [, int $length ] ) Gets a (uncompressed) string of up to length - 1 bytes read from the given file pointer. Reading ends when length - 1 bytes have been read, on a newline, or on EOF (whichever comes first). Parameters: zp The gz-file pointer. It must be valid, and must point to a file successfu

zip_read

(PHP 4 >= 4.1.0, PHP 5 >= 5.2.0, PHP 7, PECL zip >= 1.0.0) Read next entry in a ZIP file archive resource zip_read ( resource $zip ) Reads the next entry in a zip file archive. Parameters: zip A ZIP file previously opened with zip_open(). Returns: Returns a directory entry resource for later use with the zip_entry_... functions, or FALSE

gzcompress

(PHP 4 >= 4.0.1, PHP 5, PHP 7) Compress a string string gzcompress ( string $data [, int $level = -1 [, int $encoding = ZLIB_ENCODING_DEFLATE ]] ) This function compresses the given string using the ZLIB data format. For details on the ZLIB compression algorithm see the document "» ZLIB Compressed Data Format Specification version 3.3" (RFC 1950). Note: This is not the same as gzip compression, which includes some

gzdeflate

(PHP 4 >= 4.0.4, PHP 5, PHP 7) Deflate a string string gzdeflate ( string $data [, int $level = -1 [, int $encoding = ZLIB_ENCODING_RAW ]] ) This function compresses the given string using the DEFLATE data format. For details on the DEFLATE compression algorithm see the document "» DEFLATE Compressed Data Format Specification version 1.3" (RFC 1951). Parameters: data

gzencode

(PHP 4 >= 4.0.4, PHP 5, PHP 7) Create a gzip compressed string string gzencode ( string $data [, int $level = -1 [, int $encoding_mode = FORCE_GZIP ]] ) This function returns a compressed version of the input data compatible with the output of the gzip program. For more information on the GZIP file format, see the document: » GZIP file format specification version 4.3 (RFC 1952). Parameters:

zip_open

(PHP 4 >= 4.1.0, PHP 5 >= 5.2.0, PHP 7, PECL zip >= 1.0.0) Open a ZIP file archive resource zip_open ( string $filename ) Opens a new zip archive for reading. Parameters: filename The file name of the ZIP archive to open. Returns: Returns a resource handle for later use with zip_read() and zip_close() or returns the number of error if fi

gzclose

(PHP 4, PHP 5, PHP 7) Close an open gz-file pointer bool gzclose ( resource $zp ) Closes the given gz-file pointer. 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 on failure. Examples:

gzdecode

(PHP 5 >= 5.4.0, PHP 7) Decodes a gzip compressed string string gzdecode ( string $data [, int $length ] ) This function returns a decoded version of the input data. Parameters: data The data to decode, encoded by gzencode(). length The maximum length of data to decode. Returns: The decoded string, or FALSE

zip_entry_compressionmethod

(PHP 4 >= 4.1.0, PHP 5 >= 5.2.0, PHP 7, PECL zip >= 1.0.0) Retrieve the compression method of a directory entry string zip_entry_compressionmethod ( resource $zip_entry ) Returns the compression method of the directory entry specified by zip_entry. Parameters: zip_entry A directory entry returned by zip_read(). Returns: The compression m

zip_entry_open

(PHP 4 >= 4.1.0, PHP 5 >= 5.2.0, PHP 7, PECL zip >= 1.0.0) Open a directory entry for reading bool zip_entry_open ( resource $zip, resource $zip_entry [, string $mode ] ) Opens a directory entry in a zip file for reading. Parameters: zip A valid resource handle returned by zip_open(). zip_entry A directory entry returned by zip