<?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 => 'uk',
  ),
  'this' => 
  array (
    0 => 'function.enchant-dict-get-error.php',
    1 => 'enchant_dict_get_error',
    2 => 'Returns the last error of the current spelling-session',
  ),
  'up' => 
  array (
    0 => 'ref.enchant.php',
    1 => 'Функції Enchant',
  ),
  'prev' => 
  array (
    0 => 'function.enchant-dict-describe.php',
    1 => 'enchant_dict_describe',
  ),
  'next' => 
  array (
    0 => 'function.enchant-dict-is-added.php',
    1 => 'enchant_dict_is_added',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/enchant/functions/enchant-dict-get-error.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.enchant-dict-get-error" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">enchant_dict_get_error</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_dict_get_error</span> &mdash; <span class="dc-title">Returns the last error of the current spelling-session</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.enchant-dict-get-error-description">
  <h3 class="title">Опис</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>enchant_dict_get_error</strong></span>(<span class="methodparam"><span class="type"><a href="class.enchantdictionary.php" class="type EnchantDictionary">EnchantDictionary</a></span> <code class="parameter">$dictionary</code></span>): <span class="type"><span class="type"><a href="language.types.string.php" class="type string">string</a></span>|<span class="type"><a href="language.types.singleton.php" class="type false">false</a></span></span></div>

  <p class="para rdfs-comment">
   Returns the last error of the current spelling-session
  </p>

 </div>

 <div class="refsect1 parameters" id="refsect1-function.enchant-dict-get-error-parameters">
  <h3 class="title">Параметри</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">dictionary</code></dt>
     <dd>
      <p class="para">
       Словник Enchant, якого повертає
       <span class="function"><a href="function.enchant-broker-request-dict.php" class="function">enchant_broker_request_dict()</a></span> або
       <span class="function"><a href="function.enchant-broker-request-pwl-dict.php" class="function">enchant_broker_request_pwl_dict()</a></span>.
      </p>
     </dd>
    
   </dl>
  </p>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-function.enchant-dict-get-error-returnvalues">
  <h3 class="title">Значення, що повертаються</h3>
  <p class="para">
   Returns the error message as string or <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> if no error occurred.
  </p>
 </div>


 <div class="refsect1 changelog" id="refsect1-function.enchant-dict-get-error-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>
  <code class="parameter">dictionary</code> тепер має бути примірником класу
  <span class="classname"><a href="class.enchantdictionary.php" class="classname">EnchantDictionary</a></span>; раніше очікувався <a href="language.types.resource.php" class="link">resource</a>.
 </td>
</tr>

    </tbody>
   
  </table>

 </div>


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