PHP zip_entry_compressedsize() 函數
定義和用法
zip_entry_compressedsize() 函數返回 zip 檔案項目的壓縮文件尺寸。
語法
zip_entry_compressedsize(zip_entry)
| 參數 | 描述 |
| zip_entry | 必需。規定要讀取的 zip 項目資源(由 zip_read() 打開的 zip 項目)。 |
例子
輸出:
Name: ziptest.txt
Compressed Size: 68Name: htmlziptest.html
Compressed Size: 159