CakeFest 2024: The Official CakePHP Conference

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 を返します。

add a note

User Contributed Notes

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