PHP Velho Oeste 2024

ZipArchive::getStatusString

(PHP 5 >= 5.2.7, PHP 7)

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

설명

string ZipArchive::getStatusString ( void )

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

인수

이 함수는 인수가 없습니다.

반환값

Returns a string with the status message on success실패 시 FALSE를 반환합니다.

add a note add a note

User Contributed Notes 1 note

up
-1
vlabots
9 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