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

ZipArchive::setArchiveComment()

ZipArchive::setArchiveComment - Set the comment of a ZIP archive

Syntax

mixed ZipArchive::setArchiveComment (string $comment)

Arguments

  • comment - The contents of the comment.

Description

Set the comment of a ZIP archive.

Version

PHP 5.2.0, PECL zip >= 1.4.0

Return value

Returns TRUE on success or FALSE on failure.