ZipArchive
PHP 手册

ZipArchive::close

(PHP 5 >= 5.2.0, PECL zip >= 1.1.0)

ZipArchive::closeClose the active archive (opened or newly created)

说明

bool ZipArchive::close ( void )

Close opened or created archive and save changes. This method is automatically called at the end of the script.

参数

This function has no parameters.

返回值

如果成功则返回 TRUE,失败则返回 FALSE


ZipArchive
PHP 手册