array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'it', ), '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 Funzioni', ), '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); ?>

enchant_dict_get_error

(PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL enchant >= 0.1.0 )

enchant_dict_get_errorReturns the last error of the current spelling-session

Descrizione

enchant_dict_get_error(EnchantDictionary $dictionary): string|false

Returns the last error of the current spelling-session

Elenco dei parametri

dictionary

An Enchant dictionary returned by enchant_broker_request_dict() or enchant_broker_request_pwl_dict().

Valori restituiti

Returns the error message as string or false if no error occurred.

Log delle modifiche

Versione Descrizione
8.0.0 dictionary expects an EnchantDictionary instance now; previoulsy, a resource was expected.