This method is not static! It must be called:
<?php
$zip = new ZipArchive();
...
echo $zip->getStatusString();
?>
(Using PHP 5.4.4)
(PHP 5 >= 5.2.7, PHP 7)
ZipArchive::getStatusString — Returns the status error message, system and/or zip messages
Returns the status error message, system and/or zip messages.
Această funcție nu are parametri.
Returns a string with the status message on success sau false
în cazul eșecului.
Versiune | Descriere |
---|---|
8.0.0 / 1.18.0 | This method can be called on closed archive. |