array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'tr', ), 'this' => array ( 0 => 'phardata.iswritable.php', 1 => 'PharData::isWritable', 2 => 'Returns true if the tar/zip archive can be modified', ), 'up' => array ( 0 => 'class.phardata.php', 1 => 'PharData', ), 'prev' => array ( 0 => 'phardata.extractto.php', 1 => 'PharData::extractTo', ), 'next' => array ( 0 => 'phardata.offsetset.php', 1 => 'PharData::offsetSet', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/phar/PharData/isWritable.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

PharData::isWritable

(PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL phar >= 2.0.0)

PharData::isWritableReturns true if the tar/zip archive can be modified

Açıklama

public PharData::isWritable(): bool

This method returns true if the tar/zip archive on disk is not read-only. Unlike Phar::isWritable(), data-only tar/zip archives can be modified even if phar.readonly is set to 1.

Bağımsız Değişkenler

No parameters.

Dönen Değerler

Returns true if the tar/zip archive can be modified

Ayrıca Bakınız