<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.finfo.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'ja',
  ),
  'this' => 
  array (
    0 => 'finfo.construct.php',
    1 => 'finfo::__construct',
    2 => 'finfo_open のエイリアス',
  ),
  'up' => 
  array (
    0 => 'class.finfo.php',
    1 => 'finfo',
  ),
  'prev' => 
  array (
    0 => 'finfo.buffer.php',
    1 => 'finfo::buffer',
  ),
  'next' => 
  array (
    0 => 'finfo.file.php',
    1 => 'finfo::file',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'ja',
    'path' => 'reference/fileinfo/finfo/construct.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="finfo.construct" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">finfo::__construct</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::__construct</span> &mdash; <span class="dc-title"><span class="function"><a href="function.finfo-open.php" class="function">finfo_open()</a></span> のエイリアス</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-finfo.construct-description">
  <h3 class="title">説明</h3>
  <div class="constructorsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>finfo::__construct</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$flags</code><span class="initializer"> = <strong><code><a href="fileinfo.constants.php#constant.fileinfo-none">FILEINFO_NONE</a></code></strong></span></span>, <span class="methodparam"><span class="type"><span class="type"><a href="language.types.null.php" class="type null">?</a></span><span class="type"><a href="language.types.string.php" class="type string">string</a></span></span> <code class="parameter">$magic_database</code><span class="initializer"> = <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong></span></span>)</div>

  <p class="simpara">
   この関数は次の関数のエイリアスです。 <span class="function"><a href="function.finfo-open.php" class="function">finfo_open()</a></span>
  </p>
 </div>


 <div class="refsect1 changelog" id="refsect1-finfo.construct-changelog">
  <h3 class="title">変更履歴</h3>
  <table class="doctable informaltable">
   
    <thead>
     <tr>
      <th>バージョン</th>
      <th>説明</th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr>
      <td>8.0.3</td>
      <td>
       <code class="parameter">magic_database</code> は、nullable になりました。
      </td>
     </tr>

    </tbody>
   
  </table>

 </div>

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