php8.5
Home/ Manual/ zip / ziparchive/ ZipArchive::getStatusString

ZipArchive::getStatusString

PHP function Edit on GitHub ✎

(PHP 5 >= 5.2.7, PHP 7, PHP 8)

Returns the status error message, system and/or zip messages

Description

ZipArchive::getStatusString(): string

Returns the status error message, system and/or zip messages.

Parameters Parameters

Return Values

Returns a string with the status message.

Changelog

VersionDescription
8.0.0, PECL zip 1.18.0This method can be called on closed archive.
8.0.0, PECL zip 1.18.0This method no longer returns false on failure.

Source: reference/zip/ziparchive/getstatusstring.xml · from the official PHP manual (php/doc-en)