<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.fileinfo.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'uk',
  ),
  'this' => 
  array (
    0 => 'function.finfo-close.php',
    1 => 'finfo_close',
    2 => 'Close finfo instance',
  ),
  'up' => 
  array (
    0 => 'ref.fileinfo.php',
    1 => 'Функції Fileinfo',
  ),
  'prev' => 
  array (
    0 => 'function.finfo-buffer.php',
    1 => 'finfo_buffer',
  ),
  'next' => 
  array (
    0 => 'function.finfo-file.php',
    1 => 'finfo_file',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/fileinfo/functions/finfo-close.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.finfo-close" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">finfo_close</h1>
  <p class="verinfo">(PHP &gt;= 5.3.0, PHP 7, PHP 8, PECL fileinfo &gt;= 0.1.0)</p><p class="refpurpose"><span class="refname">finfo_close</span> &mdash; <span class="dc-title">Close finfo instance</span></p>

 </div>
 <div id="function.finfo-close-refsynopsisdiv">
  <div class="warning"><strong class="warning">Увага</strong><p class="simpara">This function has been
<em>DEPRECATED</em> as of PHP 8.5.0. Relying on this function
is highly discouraged.</p></div>
 </div>
 <div class="refsect1 description" id="refsect1-function.finfo-close-description">
  <h3 class="title">Опис</h3>
  <div class="methodsynopsis dc-description">
   <span class="attribute"><a href="class.deprecated.php">#[\Deprecated]</a> </span><br>
   <span class="methodname"><strong>finfo_close</strong></span>(<span class="methodparam"><span class="type"><a href="class.finfo.php" class="type finfo">finfo</a></span> <code class="parameter">$finfo</code></span>): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>


  <p class="para rdfs-comment">
   This function closes the instance opened by <span class="function"><a href="function.finfo-open.php" class="function">finfo_open()</a></span>.
  </p>

 </div>

 <div class="refsect1 parameters" id="refsect1-function.finfo-close-parameters">
  <h3 class="title">Параметри</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">finfo</code></dt>
     <dd>
      <p class="para">Примірник
<span class="classname"><a href="class.finfo.php" class="classname">finfo</a></span>, що повертається функцією
<span class="function"><a href="function.finfo-open.php" class="function">finfo_open()</a></span>.</p>
     </dd>
    
   </dl>
  </p>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-function.finfo-close-returnvalues">
  <h3 class="title">Значення, що повертаються</h3>
  <p class="para">
   Повертає <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> у разі успіху або <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> в разі помилки.
  </p>
 </div>


 <div class="refsect1 changelog" id="refsect1-function.finfo-close-changelog">
  <h3 class="title">Журнал змін</h3>
  <table class="doctable informaltable">
   
    <thead>
     <tr>
      <th>Версія</th>
      <th>Опис</th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr>
 <td>8.1.0</td>
 <td>
  Тепер параметр <code class="parameter">finfo</code> має бути примірником
  <span class="classname"><a href="class.finfo.php" class="classname">finfo</a></span>, а не <a href="language.types.resource.php" class="link">resource</a>, як раніше.
 </td>
</tr>

    </tbody>
   
  </table>

 </div>


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