* The file name. This file will be opened from the filesystem and its * contents written to standard output. *

* @param use_include_path int[optional]

* You can set this optional parameter to 1, if you * want to search for the file in the include_path too. *

* @return int the number of (uncompressed) bytes read from the file. If * an error occurs, false is returned and unless the function was * called as @readgzfile, an error message is * printed. */ function readgzfile ($filename, $use_include_path = null) {} /** * Rewind the position of a gz-file pointer * @link http://www.php.net/manual/en/function.gzrewind.php * @param zp resource

* The gz-file pointer. It must be valid, and must point to a file * successfully opened by gzopen. *

* @return bool Returns true on success, false on failure. */ function gzrewind ($zp) {} /** * Close an open gz-file pointer * @link http://www.php.net/manual/en/function.gzclose.php * @param zp resource

* The gz-file pointer. It must be valid, and must point to a file * successfully opened by gzopen. *

* @return bool Returns true on success, false on failure. */ function gzclose ($zp) {} /** * Test for EOF on a gz-file pointer * @link http://www.php.net/manual/en/function.gzeof.php * @param zp resource

* The gz-file pointer. It must be valid, and must point to a file * successfully opened by gzopen. *

* @return int true if the gz-file pointer is at EOF or an error occurs; * otherwise returns false. */ function gzeof ($zp) {} /** * Get character from gz-file pointer * @link http://www.php.net/manual/en/function.gzgetc.php * @param zp resource

* The gz-file pointer. It must be valid, and must point to a file * successfully opened by gzopen. *

* @return string The uncompressed character or false on EOF (unlike gzeof). */ function gzgetc ($zp) {} /** * Get line from file pointer * @link http://www.php.net/manual/en/function.gzgets.php * @param zp resource

* The gz-file pointer. It must be valid, and must point to a file * successfully opened by gzopen. *

* @param length int[optional]

* The length of data to get. *

* @return string The uncompressed string, or false on error. */ function gzgets ($zp, $length = null) {} /** * Get line from gz-file pointer and strip HTML tags * @link http://www.php.net/manual/en/function.gzgetss.php * @param zp resource

* The gz-file pointer. It must be valid, and must point to a file * successfully opened by gzopen. *

* @param length int

* The length of data to get. *

* @param allowable_tags string[optional]

* You can use this optional parameter to specify tags which should not * be stripped. *

* @return string The uncompressed and stripped string, or false on error. */ function gzgetss ($zp, $length, $allowable_tags = null) {} /** * Binary-safe gz-file read * @link http://www.php.net/manual/en/function.gzread.php * @param zp resource

* The gz-file pointer. It must be valid, and must point to a file * successfully opened by gzopen. *

* @param length int

* The number of bytes to read. *

* @return string The data that have been read. */ function gzread ($zp, $length) {} /** * Open gz-file * @link http://www.php.net/manual/en/function.gzopen.php * @param filename string

* The file name. *

* @param mode string

* As in fopen (rb or * wb) but can also include a compression level * (wb9) or a strategy: f for * filtered data as in wb6f, h for * Huffman only compression as in wb1h. * (See the description of deflateInit2 * in zlib.h for * more information about the strategy parameter.) *

* @param use_include_path int[optional]

* You can set this optional parameter to 1, if you * want to search for the file in the include_path too. *

* @return resource a file pointer to the file opened, after that, everything you read * from this file descriptor will be transparently decompressed and what you * write gets compressed. *

*

* If the open fails, the function returns false. */ function gzopen ($filename, $mode, $use_include_path = null) {} /** * Output all remaining data on a gz-file pointer * @link http://www.php.net/manual/en/function.gzpassthru.php * @param zp resource

* The gz-file pointer. It must be valid, and must point to a file * successfully opened by gzopen. *

* @return int The number of uncompressed characters read from gz * and passed through to the input, or false on error. */ function gzpassthru ($zp) {} /** * Seek on a gz-file pointer * @link http://www.php.net/manual/en/function.gzseek.php * @param zp resource

* The gz-file pointer. It must be valid, and must point to a file * successfully opened by gzopen. *

* @param offset int

* The seeked offset. *

* @param whence int[optional]

* whence values are: * * SEEK_SET - Set position equal to offset bytes. * SEEK_CUR - Set position to current location plus offset. * *

*

* If whence is not specified, it is assumed to be * SEEK_SET. *

* @return int Upon success, returns 0; otherwise, returns -1. Note that seeking * past EOF is not considered an error. */ function gzseek ($zp, $offset, $whence = null) {} /** * Tell gz-file pointer read/write position * @link http://www.php.net/manual/en/function.gztell.php * @param zp resource

* The gz-file pointer. It must be valid, and must point to a file * successfully opened by gzopen. *

* @return int The position of the file pointer or false if an error occurs. */ function gztell ($zp) {} /** * Binary-safe gz-file write * @link http://www.php.net/manual/en/function.gzwrite.php * @param zp resource

* The gz-file pointer. It must be valid, and must point to a file * successfully opened by gzopen. *

* @param string string

* The string to write. *

* @param length int[optional]

* The number of uncompressed bytes to write. If supplied, writing will * stop after length (uncompressed) bytes have been * written or the end of string is reached, * whichever comes first. *

* *

* Note that if the length argument is given, * then the magic_quotes_runtime * configuration option will be ignored and no slashes will be * stripped from string. *

* @return int the number of (uncompressed) bytes written to the given gz-file * stream. */ function gzwrite ($zp, $string, $length = null) {} /** * &Alias; gzwrite * @link http://www.php.net/manual/en/function.gzputs.php * @param fp * @param str * @param length[optional] */ function gzputs ($fp, $str, $length) {} /** * Read entire gz-file into an array * @link http://www.php.net/manual/en/function.gzfile.php * @param filename string

* The file name. *

* @param use_include_path int[optional]

* You can set this optional parameter to 1, if you * want to search for the file in the include_path too. *

* @return array An array containing the file, one line per cell. */ function gzfile ($filename, $use_include_path = null) {} /** * Compress a string * @link http://www.php.net/manual/en/function.gzcompress.php * @param data string

* The data to compress. *

* @param level int[optional]

* The level of compression. Can be given as 0 for no compression up to 9 * for maximum compression. *

*

* If -1 is used, the default compression of the zlib library is used which is 6. *

* @param encoding int[optional]

* One of ZLIB_ENCODING_* constants. *

* @return string The compressed string or false if an error occurred. */ function gzcompress ($data, $level = null, $encoding = null) {} /** * Uncompress a compressed string * @link http://www.php.net/manual/en/function.gzuncompress.php * @param data string

* The data compressed by gzcompress. *

* @param length int[optional]

* The maximum length of data to decode. *

* @return string The original uncompressed data or false on error. *

*

* The function will return an error if the uncompressed data is more than * 32768 times the length of the compressed input data * or more than the optional parameter length. */ function gzuncompress ($data, $length = null) {} /** * Deflate a string * @link http://www.php.net/manual/en/function.gzdeflate.php * @param data string

* The data to deflate. *

* @param level int[optional]

* The level of compression. Can be given as 0 for no compression up to 9 * for maximum compression. If not given, the default compression level will * be the default compression level of the zlib library. *

* @param encoding int[optional]

* One of ZLIB_ENCODING_* constants. *

* @return string The deflated string or false if an error occurred. */ function gzdeflate ($data, $level = null, $encoding = null) {} /** * Inflate a deflated string * @link http://www.php.net/manual/en/function.gzinflate.php * @param data string

* The data compressed by gzdeflate. *

* @param length int[optional]

* The maximum length of data to decode. *

* @return string The original uncompressed data or false on error. *

*

* The function will return an error if the uncompressed data is more than * 32768 times the length of the compressed input data * or more than the optional parameter length. */ function gzinflate ($data, $length = null) {} /** * Create a gzip compressed string * @link http://www.php.net/manual/en/function.gzencode.php * @param data string

* The data to encode. *

* @param level int[optional]

* The level of compression. Can be given as 0 for no compression up to 9 * for maximum compression. If not given, the default compression level will * be the default compression level of the zlib library. *

* @param encoding_mode int[optional]

* The encoding mode. Can be FORCE_GZIP (the default) * or FORCE_DEFLATE. *

*

* Prior to PHP 5.4.0, using FORCE_DEFLATE results in * a standard zlib deflated string (inclusive zlib headers) after a gzip * file header but without the trailing crc32 checksum. *

*

* In PHP 5.4.0 and later, FORCE_DEFLATE generates * RFC 1950 compliant output, consisting of a zlib header, the deflated * data, and an Adler checksum. *

* @return string The encoded string, or false if an error occurred. */ function gzencode ($data, $level = null, $encoding_mode = null) {} /** * Decodes a gzip compressed string * @link http://www.php.net/manual/en/function.gzdecode.php * @param data string

* The data to decode, encoded by gzencode. *

* @param length int[optional]

* The maximum length of data to decode. *

* @return string The decoded string, or false if an error occurred. */ function gzdecode ($data, $length = null) {} /** * Compress data with the specified encoding * @link http://www.php.net/manual/en/function.zlib-encode.php * @param data string

* *

* @param encoding string

* *

* @param level string[optional]

* *

* @return string */ function zlib_encode ($data, $encoding, $level = null) {} /** * Uncompress any raw/gzip/zlib encoded data * @link http://www.php.net/manual/en/function.zlib-decode.php * @param data string

* *

* @param max_decoded_len string[optional]

* *

* @return string */ function zlib_decode ($data, $max_decoded_len = null) {} /** * Returns the coding type used for output compression * @link http://www.php.net/manual/en/function.zlib-get-coding-type.php * @return string Possible return values are gzip, deflate, * or false. */ function zlib_get_coding_type () {} /** * ob_start callback function to gzip output buffer * @link http://www.php.net/manual/en/function.ob-gzhandler.php * @param buffer string

*

* @param mode int

*

* @return string */ function ob_gzhandler ($buffer, $mode) {} define ('FORCE_GZIP', 31); define ('FORCE_DEFLATE', 15); define ('ZLIB_ENCODING_RAW', -15); define ('ZLIB_ENCODING_GZIP', 31); define ('ZLIB_ENCODING_DEFLATE', 15); // End of zlib v.2.0 ?>