ZipArchive::close

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

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

說(shuō)明

public ZipArchive::close(): bool

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

參數(shù)

此函數(shù)沒有參數(shù)。

返回值

成功時(shí)返回 true, 或者在失敗時(shí)返回 false。