ZipArchive::getStatusString

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

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

Descrizione

public ZipArchive::getStatusString(): string

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

Elenco dei parametri

Questa funzione non contiene parametri.

Valori restituiti

Returns a string with the status message.

Log delle modifiche

Versione Descrizione
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.

add a note add a note

User Contributed Notes 1 note

up
-1
vlabots
10 years ago
This method is not static! It must be called:

<?php
$zip
= new ZipArchive();
...
echo
$zip->getStatusString();
?>

(Using PHP 5.4.4)
To Top