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

search for in the

Rar::getVersion> <Rar::getPackedSize
Last updated: Fri, 13 Nov 2009

view this page in

Rar::getUnpackedSize

(PECL rar >= 0.1)

Rar::getUnpackedSize展開後のエントリのサイズを取得する

説明

Rar
int getUnpackedSize ( void )

展開後のアーカイブエントリのサイズを取得します。

返り値

展開後のサイズ、あるいはエラー時に FALSE を返します。

返り値

例1 Rar::getUnpackedSize() の例

<?php

$rar_file 
rar_open('example.rar') or die("Rar アーカイブのオープンに失敗しました");

$entry rar_entry_get($rar_file'Dir/file.txt') or die("そのようなエントリは見つかりません");

echo 
"展開後の " $entry->getName() . " のサイズ = " $entry->getUnpackedSize() . " バイト";

?>



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

Rar::getVersion> <Rar::getPackedSize
Last updated: Fri, 13 Nov 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites