diff --git a/functions/zlib.xml b/functions/zlib.xml
index 8c3c1d19a1..d7ce4c9a16 100644
--- a/functions/zlib.xml
+++ b/functions/zlib.xml
@@ -515,6 +515,56 @@ gzclose( $zd );
+
+
+ gzcompress
+ gz-compress a string
+
+
+ Description
+
+ string gzcompress
+ string data
+ int level
+
+
+ This function returns a gzip-compressed version of the input
+ data or false on errors. The optional parameter
+ level can be given as 0 for no compression
+ up to 9 for maximum compression.
+
+
+ See also gzuncompress.
+
+
+
+
+
+
+ gzuncompress
+ uncompress a gz-compressed string
+
+
+ Description
+
+ string gzcompress
+ string data
+ int length
+
+
+ This function takes data compressed by
+ gzcompress and returns the orignial uncompressed
+ data or false on error.
+ The function will return an error if the uncompressed data is more then 256
+ times the lenght of the compressed input data or more
+ than the optional parameter length.
+
+
+ See also gzcompress.
+
+
+
+