Home > PHP > Function > Enchant > enchant_dict_check()

enchant_dict_check()

enchant_dict_check - Check whether a word is correctly spelled or not

Syntax

bool enchant_dict_check (resource $dict, string $word)

Arguments

  • dict - Dictionary resource
  • word - The word to check

Description

If the word is correctly spelled return TRUE, otherwise return FALSE

Version

PHP PECL enchant >= 0.1.0

Return value

Returns TRUE if the word is spelled correctly, FALSE if not.