diff --git a/reference/zip/ziparchive/addglob.xml b/reference/zip/ziparchive/addglob.xml index 6f5364aafa..d89a2831b2 100644 --- a/reference/zip/ziparchive/addglob.xml +++ b/reference/zip/ziparchive/addglob.xml @@ -87,6 +87,40 @@ ZIP constants page. + + + "comp_method" + + + Compression method, one of the ZipArchive::CM_* + constants, see ZIP constants page. + + + + + "comp_flags" + + + Compression level. + + + + + "enc_method" + + + Encryption method, one of the ZipArchive::EM_* + constants, see ZIP constants page. + + + + + "enc_password" + + + Password used for encryption. + + @@ -119,6 +153,14 @@ "flags" in options was added. + + 8.0.0 / 1.18.1 + + "comp_method", "comp_flags", + "enc_method" and "enc_password"in + options was added. + + diff --git a/reference/zip/ziparchive/setcompressionindex.xml b/reference/zip/ziparchive/setcompressionindex.xml index 3a42eac1e8..af2adacf0e 100644 --- a/reference/zip/ziparchive/setcompressionindex.xml +++ b/reference/zip/ziparchive/setcompressionindex.xml @@ -33,10 +33,8 @@ comp_method - The compression method. Either - ZipArchive::CM_DEFAULT, - ZipArchive::CM_STORE or - ZipArchive::CM_DEFLATE. + The compression method, one of the + ZipArchive::CM_* constants. @@ -44,7 +42,7 @@ comp_flags - Compression flags. Currently unused. + Compression level. diff --git a/reference/zip/ziparchive/setcompressionname.xml b/reference/zip/ziparchive/setcompressionname.xml index 2296a18631..766d057694 100644 --- a/reference/zip/ziparchive/setcompressionname.xml +++ b/reference/zip/ziparchive/setcompressionname.xml @@ -33,10 +33,8 @@ comp_method - The compression method. Either - ZipArchive::CM_DEFAULT, - ZipArchive::CM_STORE or - ZipArchive::CM_DEFLATE. + The compression method, one of the + ZipArchive::CM_* constants. @@ -44,7 +42,7 @@ comp_flags - Compression flags. Currently unused. + Compression level.