@@ -690,6 +690,7 @@ PHP_ZLIB_ENCODE_FUNC(zlib_encode, 0);
690
690
/* {{{ proto binary zlib_decode(binary data[, int max_decoded_len])
691
691
Uncompress any raw/gzip/zlib encoded data */
692
692
PHP_ZLIB_DECODE_FUNC (zlib_decode , PHP_ZLIB_ENCODING_ANY );
693
+ /* }}} */
693
694
694
695
/* NOTE: The naming of these userland functions was quite unlucky */
695
696
/* {{{ proto binary gzdeflate(binary data[, int level = -1[, int encoding = ZLIB_ENCODING_RAW])
@@ -701,18 +702,22 @@ PHP_ZLIB_ENCODE_FUNC(gzdeflate, PHP_ZLIB_ENCODING_RAW);
701
702
Encode data with the gzip encoding */
702
703
PHP_ZLIB_ENCODE_FUNC (gzencode , PHP_ZLIB_ENCODING_GZIP );
703
704
/* }}} */
705
+
704
706
/* {{{ proto binary gzcompress(binary data[, int level = -1[, int encoding = ZLIB_ENCODING_DEFLATE])
705
707
Encode data with the zlib encoding */
706
708
PHP_ZLIB_ENCODE_FUNC (gzcompress , PHP_ZLIB_ENCODING_DEFLATE );
707
709
/* }}} */
710
+
708
711
/* {{{ proto binary gzinflate(binary data[, int max_decoded_len])
709
712
Decode raw deflate encoded data */
710
713
PHP_ZLIB_DECODE_FUNC (gzinflate , PHP_ZLIB_ENCODING_RAW );
711
714
/* }}} */
715
+
712
716
/* {{{ proto binary gzdecode(binary data[, int max_decoded_len])
713
717
Decode gzip encoded data */
714
718
PHP_ZLIB_DECODE_FUNC (gzdecode , PHP_ZLIB_ENCODING_GZIP );
715
719
/* }}} */
720
+
716
721
/* {{{ proto binary gzuncompress(binary data[, int max_decoded_len])
717
722
Decode zlib encoded data */
718
723
PHP_ZLIB_DECODE_FUNC (gzuncompress , PHP_ZLIB_ENCODING_DEFLATE );
@@ -967,12 +972,14 @@ static PHP_RINIT_FUNCTION(zlib)
967
972
}
968
973
/* }}} */
969
974
975
+ /* {{{ PHP_RSHUTDOWN_FUNCTION */
970
976
static PHP_RSHUTDOWN_FUNCTION (zlib )
971
977
{
972
978
php_zlib_cleanup_ob_gzhandler_mess (TSRMLS_C );
973
979
974
980
return SUCCESS ;
975
981
}
982
+ /* }}} */
976
983
977
984
/* {{{ PHP_MINFO_FUNCTION */
978
985
static PHP_MINFO_FUNCTION (zlib )
0 commit comments