(PHP 5 >= 5.2.0, PECL zip >= 1.1.0)
ZipArchive::getArchiveComment — ZIP ・「。シ・ォ・、・ヨ、ホ・ウ・皈ネ、ヨ、ケ
Zip ・「。シ・ォ・、・ヨ、ホ・ウ・皈ネ、ヨ、キ、゙、ケ。」
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;
}
?>