This reference page provides a comprehensive, alphabetical catalog of all built-in Zip Functions in PHP. In modern web development and university exams (BCA, BSc CS, B.Tech), understanding these core functions accelerates programming speed and prevents you from reinventing existing standard library tools.
Function |
Description |
|---|---|
zip_close() |
Close a ZIP file archive |
zip_entry_close() |
Close a directory entry |
zip_entry_compressedsize() |
Retrieve the compressed size of a directory entry |
zip_entry_compressionmethod() |
Retrieve the compression method of a directory entry |
zip_entry_filesize() |
Retrieve the actual file size of a directory entry |
zip_entry_name() |
Retrieve the name of a directory entry |
zip_entry_open() |
Open a directory entry for reading |
zip_entry_read() |
Read from an open directory entry |
zip_open() |
Open a ZIP file archive |
zip_read() |
Read next entry in a ZIP file archive |
For in-depth practical tutorials and student code examples, explore these related classes: