downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

ZipArchive::getCommentIndex> <ZipArchive::extractTo
[edit] Last updated: Fri, 23 Mar 2012

view this page in

ZipArchive::getArchiveComment

(PHP 5 >= 5.2.0, PECL zip >= 1.1.0)

ZipArchive::getArchiveCommentZip arşivinin açıklamasını döndürür

Açıklama

string ZipArchive::getArchiveComment ( void )

Zip arşivinin açıklamasını döndürür.

Değiştirgeler

Bu işlevin değiştirgesi yoktur.

Dönen Değerler

Başarısızlık durumunda FALSE aksi takdirde açıklama dizgesi döner.

Örnekler

Örnek 1 - Bir arşiv açıklamasını basmak

<?php
$zip 
= new ZipArchive;
$res $zip->open('test_with_comment.zip');
if (
$res === TRUE) {
    
var_dump($zip->getArchiveComment());
    
/* Veya arşivin özelliğini kullanalım */
    
var_dump($zip->comment);
} else {
    echo 
'olmadı, kod:' $res;
}
?>


add a note add a note User Contributed Notes ZipArchive::getArchiveComment
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites