Home > PHP > Function > Enchant > enchant_dict_suggest()

enchant_dict_suggest()

enchant_dict_suggest - Will return a list of values if any of those pre-conditions are not met

Syntax

array enchant_dict_suggest (resource $dict, string $word)

Arguments

  • dict - Dictionary resource
  • word - Word to use for the suggestions.

Description

Version

PHP PECL enchant >= 0.1.0

Return value

Will returns an array of suggestions if the word is bad spelled.