PHP: Rar::getPackedSize - Manual

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

search for in the

Rar::getUnpackedSize Rar::getName

Last updated: Sat, 27 Jan 2007

view this page in

# Rar::getPackedSize

(no version information, might be only in CVS)

Rar::getPackedSize -- Возвращает размер сжатого элемента

## Описание

int Rar::getPackedSize ( void )

Возвращает размер сжатого элемента

Пример 1. Rar::() пример использования

`<?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->getPackedSize() . " bytes";
?>`

Rar::getPackedSize() возвращает `FALSE` при ошибке.

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

Last updated: Sat, 27 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 10:36:09 2007 PST