PHP 8.6.0 Beta 3 is available for testing

zip_entry_compressedsize

(PHP 4 >= 4.1.0, PHP 5 >= 5.2.0, PHP 7, PHP 8, PECL zip >= 1.0.0)

zip_entry_compressedsizeRetrieve the compressed size of a directory entry

Увага

Ця функція ЗАСТАРІЛА, починаючи з PHP 8.0.0. Вкрай не рекомендується на неї покладатися.

Опис

#[\Deprecated(
    since: '8.0',
    message: 'use ZipArchive::statIndex() instead',
)]

function zip_entry_compressedsize(resource $zip_entry): int|false

Returns the compressed size of the specified directory entry.

Параметри

zip_entry

A directory entry returned by zip_read().

Значення, що повертаються

The compressed size, або false в разі помилки.

Журнал змін

Версія Опис
8.0.0 This function is deprecated in favor of the Object API, see ZipArchive::statIndex().

Прогляньте також

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top