<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Returns true if the phar archive can be modified</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="phar.isvalidpharfilename.html">Phar::isValidPharFilename</a></div> <div class="next" style="text-align: right; float: right;"><a href="phar.loadphar.html">Phar::loadPhar</a></div> <div class="up"><a href="class.phar.html">Phar</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="phar.iswritable" class="refentry"> <div class="refnamediv"> <h1 class="refname">Phar::isWritable</h1> <p class="verinfo">(Unknown)</p><p class="refpurpose"><span class="refname">Phar::isWritable</span> — <span class="dc-title">Returns true if the phar archive can be modified</span></p> </div> <div class="refsect1 description" id="refsect1-phar.iswritable-description"> <h3 class="title">Description</h3> <div class="methodsynopsis dc-description"> <span class="modifier">public</span> <span class="type">bool</span> <span class="methodname"><strong>Phar::isWritable</strong></span> ( <span class="methodparam">void</span> )</div> <p class="para rdfs-comment"> This method returns <strong><code>TRUE</code></strong> if <em>phar.readonly</em> is <em>0</em>, and the actual phar archive on disk is not read-only. </p> </div> <div class="refsect1 parameters" id="refsect1-phar.iswritable-parameters"> <h3 class="title">Parameters</h3> <p class="para"> No parameters. </p> </div> <div class="refsect1 returnvalues" id="refsect1-phar.iswritable-returnvalues"> <h3 class="title">Return Values</h3> <p class="para"> Returns <strong><code>TRUE</code></strong> if the phar archive can be modified </p> </div> <div class="refsect1 seealso" id="refsect1-phar.iswritable-seealso"> <h3 class="title">See Also</h3> <p class="para"> <ul class="simplelist"> <li class="member"> <span class="function"><a href="phar.canwrite.html" class="function" rel="rdfs-seeAlso">Phar::canWrite()</a> - Returns whether phar extension supports writing and creating phars</span></li> <li class="member"> <span class="function"><a href="phardata.iswritable.html" class="function" rel="rdfs-seeAlso">PharData::isWritable()</a> - Returns true if the tar/zip archive can be modified</span></li> </ul> </p> </div> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="phar.isvalidpharfilename.html">Phar::isValidPharFilename</a></div> <div class="next" style="text-align: right; float: right;"><a href="phar.loadphar.html">Phar::loadPhar</a></div> <div class="up"><a href="class.phar.html">Phar</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>