# ZipArchive::getStatusString

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

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

### 说明

public ZipArchive::getStatusString(): string

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

### 参数

此函数没有参数。

### 返回值

Returns a string with the status message.

### 更新日志

版本 | 说明
--- | ---
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.

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open