= 5.6.0, PHP 7, PHP 8, PECL zip >= 1.12.4)ZipArchive::setExternalAttributesIndex — Set the external attr">
<dl id="oa84n"></dl>
  • <pre id="oa84n"></pre>
    <dd id="oa84n"></dd>
  • <var id="oa84n"><form id="oa84n"><dfn id="oa84n"></dfn></form></var>
  • <kbd id="oa84n"><sup id="oa84n"><em id="oa84n"></em></sup></kbd>
    • ZipArchive::setExternalAttributesIndex

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

      ZipArchive::setExternalAttributesIndexSet the external attributes of an entry defined by its index

      說明

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

      Set the external attributes of an entry defined by its index.

      參數(shù)

      index

      Index of the entry.

      opsys

      The operating system code defined by one of the ZipArchive::OPSYS_ constants.

      attr

      The external attributes. Value depends on operating system.

      flags

      Optional flags. Currently unused.

      返回值

      成功時返回 true, 或者在失敗時返回 false。