ZipArchive
PHP Manual

ZipArchive::getArchiveComment

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

ZipArchive::getArchiveCommentZIP ・「。シ・ォ・、・ヨ、ホ・ウ・皈ネ、ヨ、ケ

タ篶タ

string ZipArchive::getArchiveComment ([ int $flags ] )

Zip ・「。シ・ォ・、・ヨ、ホ・ウ・皈ネ、ヨ、キ、゙、ケ。」

・ム・鬣癸シ・ソ

flags

ZIPARCHIVE::FL_UNCHANGED 、゚ト熙ケ、�ネ。「 クオ、ホハムケケ、オ、�ニ、、、ハ、、・ウ・皈ネ、ヨ、キ、゙、ケ。」

ハヨ、�ヘ

Zip ・「。シ・ォ・、・ヨ、ホ・ウ・皈ネ、ヨ、キ、゙、ケ。」シコヌヤ、キ、ソセ�遉ヒ FALSE 、ヨ、キ、゙、ケ。」

ホ�

ホ�1 ・「。シ・ォ・、・ヨ、ホ・ウ・皈ネ、ホスミホマ

<?php
$zip 
= new ZipArchive;
$res $zip->open('test_with_comment.zip');
if (
$res === TRUE) {
    
var_dump($zip->getArchiveComment());
    
/* 、「、�、、マ・「。シ・ォ・、・ヨ、ホ・ラ・愠ム・ニ・」、ネヘム、キ、゙、ケ */
    
var_dump($zip->comment);
} else {
    echo 
'シコヌヤ。「・ウ。シ・ノ:' $res;
}
?>

ZipArchive
PHP Manual