PHP Conference Japan 2024

ZipArchive::setExternalAttributesIndex

(PHP 5 >= 5.6.0, PHP 7, PHP 8, PECL zip >= 1.12.4)

ZipArchive::setExternalAttributesIndex設定指定索引之項目的外部屬性

說明

public ZipArchive::setExternalAttributesIndex(
    int $index,
    int $opsys,
    int $attr,
    int $flags = 0
): bool

設定指定索引之項目的外部屬性。

參數

index

項目的索引。

opsys

由 ZipArchive::OPSYS_ 常數之一定義的作業系統代碼。

attr

外部屬性。值取決於作業系統。

flags

可選標記。目前未使用。

回傳值

成功時返回 true,失敗時返回 false

新增註記

使用者提供的註記

此頁面沒有使用者提供的註記。
To Top