<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.enchant.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'ja',
  ),
  'this' => 
  array (
    0 => 'function.enchant-broker-free.php',
    1 => 'enchant_broker_free',
    2 => 'ブローカーリソースおよびその辞書を開放する',
  ),
  'up' => 
  array (
    0 => 'ref.enchant.php',
    1 => 'Enchant 関数',
  ),
  'prev' => 
  array (
    0 => 'function.enchant-broker-dict-exists.php',
    1 => 'enchant_broker_dict_exists',
  ),
  'next' => 
  array (
    0 => 'function.enchant-broker-free-dict.php',
    1 => 'enchant_broker_free_dict',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'ja',
    'path' => 'reference/enchant/functions/enchant-broker-free.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.enchant-broker-free" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">enchant_broker_free</h1>
  <p class="verinfo">(PHP 5 &gt;= 5.3.0, PHP 7, PHP 8, PECL enchant &gt;= 0.1.0 )</p><p class="refpurpose"><span class="refname">enchant_broker_free</span> &mdash; <span class="dc-title">ブローカーリソースおよびその辞書を開放する</span></p>

 </div>

 <div id="function.enchant-broker-free-refsynopsisdiv">
   <div class="warning"><strong class="warning">警告</strong><p class="simpara">この関数は PHP 8.0.0 で
<em>非推奨</em>になります。この関数に頼らないことを強く推奨します。</p></div>
 </div>

 <div class="refsect1 description" id="refsect1-function.enchant-broker-free-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>enchant_broker_free</strong></span>(<span class="methodparam"><span class="type"><a href="class.enchantbroker.php" class="type EnchantBroker">EnchantBroker</a></span> <code class="parameter">$broker</code></span>): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>

  <p class="simpara">
   ブローカーをその辞書とともに開放します。
   PHP 8.0.0 以降では、この関数を呼び出さず、オブジェクト自体を unset することを推奨します。
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.enchant-broker-free-parameters">
  <h3 class="title">パラメータ</h3>
  <dl>
   
     <dt><code class="parameter">broker</code></dt>
     <dd>
      <p class="para">
       <span class="function"><a href="function.enchant-broker-init.php" class="function">enchant_broker_init()</a></span> によって返される Enchant ブローカー。
      </p>
     </dd>
    
  </dl>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.enchant-broker-free-returnvalues">
  <h3 class="title">戻り値</h3>
  <p class="simpara">
   成功した場合に <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.enchant-broker-free-changelog">
  <h3 class="title">変更履歴</h3>
  <table class="doctable informaltable">
   
    <thead>
     <tr>
      <th>バージョン</th>
      <th>説明</th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr>
      <td>8.0.0</td>
      <td>
       この関数は、推奨されなくなりました。
       オブジェクトを unset する方が好ましいです。
      </td>
     </tr>

     <tr>
 <td>8.0.0</td>
 <td>
  <code class="parameter">broker</code> は、<span class="classname"><a href="class.enchantbroker.php" class="classname">EnchantBroker</a></span> クラスのインスタンスを期待するようになりました。
  これより前のバージョンでは、<span class="type"><a href="language.types.resource.php" class="type resource">resource</a></span> が期待されていました。
 </td>
</tr>

    </tbody>
   
  </table>

 </div>


 <div class="refsect1 seealso" id="refsect1-function.enchant-broker-free-seealso">
  <h3 class="title">参考</h3>
  <ul class="simplelist">
   <li><span class="function"><a href="function.enchant-broker-init.php" class="function" rel="rdfs-seeAlso">enchant_broker_init()</a> - 要求を満たすブローカーオブジェクトを作成する</span></li>
  </ul>
 </div>

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