ZipArchive::getStatusString

(PHP 5 >= 5.2.7, PHP 7)

ZipArchive::getStatusStringReturns the status error message, system and/or zip messages

Description

public ZipArchive::getStatusString ( ) : string|false

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

Parameters

This function has no parameters.

Return Values

Returns a string with the status message on success or false on failure.

Changelog

Version Description
8.0.0 / 1.18.0 This method can be called on closed archive.

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/ziparchive.getstatusstring.php