Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<ZipArchive::getNameIndexZipArchive::getStream>
^ZipArchiveLast updated: Mon, 26 Oct 2026

ZipArchive::getStatusString

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

ZipArchive::getStatusString — Returns the status error message, system and/or zip messages

Description

public function ZipArchive::getStatusString(): string

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.

Changelog

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


<ZipArchive::getNameIndexZipArchive::getStream>
^ZipArchiveLast updated: Mon, 26 Oct 2026