<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.phar.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'tr',
  ),
  'this' => 
  array (
    0 => 'phar.isfileformat.php',
    1 => 'Phar::isFileFormat',
    2 => 'Returns true if the phar archive is based on the tar/phar/zip file format depending on the parameter',
  ),
  'up' => 
  array (
    0 => 'class.phar.php',
    1 => 'Phar',
  ),
  'prev' => 
  array (
    0 => 'phar.iscompressed.php',
    1 => 'Phar::isCompressed',
  ),
  'next' => 
  array (
    0 => 'phar.isvalidpharfilename.php',
    1 => 'Phar::isValidPharFilename',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/phar/Phar/isFileFormat.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="phar.isfileformat" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">Phar::isFileFormat</h1>
  <p class="verinfo">(PHP 5 &gt;= 5.3.0, PHP 7, PHP 8, PECL phar &gt;= 2.0.0)</p><p class="refpurpose"><span class="refname">Phar::isFileFormat</span> &mdash; <span class="dc-title">Returns true if the phar archive is based on the tar/phar/zip file format depending on the parameter</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-phar.isfileformat-description">
  <h3 class="title">Açıklama</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>Phar::isFileFormat</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$format</code></span>): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>

  <p class="para rdfs-comment">
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-phar.isfileformat-parameters">
  <h3 class="title">Bağımsız Değişkenler</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">format</code></dt>
     <dd>
      <p class="para">
       Either <code class="literal">Phar::PHAR</code>, <code class="literal">Phar::TAR</code>, or
       <code class="literal">Phar::ZIP</code> to test for the format of the archive.
      </p>
     </dd>
    
   </dl>
  </p>

 </div>


 <div class="refsect1 returnvalues" id="refsect1-phar.isfileformat-returnvalues">
  <h3 class="title">Dönen Değerler</h3>
  <p class="para">
   Returns <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> if the phar archive matches the file format requested by the parameter
  </p>
 </div>


 <div class="refsect1 errors" id="refsect1-phar.isfileformat-errors">
  <h3 class="title">Hatalar/İstisnalar</h3>
  <p class="para">
   <span class="classname"><a href="class.pharexception.php" class="classname">PharException</a></span> is thrown if the parameter is an unknown file
   format specifier.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-phar.isfileformat-seealso">
  <h3 class="title">Ayrıca Bakınız</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="function"><a href="phar.converttoexecutable.php" class="function" rel="rdfs-seeAlso">Phar::convertToExecutable()</a> - Convert a phar archive to another executable phar archive file format</span></li>
    <li><span class="function"><a href="phar.converttodata.php" class="function" rel="rdfs-seeAlso">Phar::convertToData()</a> - Convert a phar archive to a non-executable tar or zip file</span></li>
   </ul>
  </p>
 </div>


</div><?php manual_footer($setup); ?>