mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
report about ZSTD compression availability
This commit is contained in:
parent
8d7ca472e5
commit
e2509cf98a
1 changed files with 6 additions and 0 deletions
|
@ -3226,6 +3226,12 @@ static PHP_MINFO_FUNCTION(zip)
|
|||
zip_compression_method_supported(ZIP_CM_BZIP2, 1) ? "Yes" : "No");
|
||||
php_info_print_table_row(2, "XZ compression",
|
||||
zip_compression_method_supported(ZIP_CM_XZ, 1) ? "Yes" : "No");
|
||||
#ifdef ZIP_CM_ZSTD
|
||||
php_info_print_table_row(2, "ZSTD compression",
|
||||
zip_compression_method_supported(ZIP_CM_ZSTD, 1) ? "Yes" : "No");
|
||||
#else
|
||||
php_info_print_table_row(2, "ZSTD compression", "No");
|
||||
#endif
|
||||
php_info_print_table_row(2, "AES-128 encryption",
|
||||
zip_encryption_method_supported(ZIP_EM_AES_128, 1) ? "Yes" : "No");
|
||||
php_info_print_table_row(2, "AES-192 encryption",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue