ZipArchive::getStatusString

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

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

說(shuō)明

public ZipArchive::getStatusString(): string

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

參數(shù)

此函數(shù)沒(méi)有參數(shù)。

返回值

Returns a string with the status message.

更新日志

版本 說(shuō)明
8.0.0 / 1.18.0 This method can be called on closed archive.
8.0.0 / 1.18.0 This method no longer returns false on failure.