Home > PHP > Function > > ZipArchive::close()

ZipArchive::close()

ZipArchive::close - Close the active archive (opened or newly created)

Syntax

bool ZipArchive::close ()

Arguments

-

Description

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

Version

PHP 5.2.0, PECL zip >= 1.1.0

Return value

Returns TRUE on success or FALSE on failure.