(PHP3 >= 3.0.7, PHP4 )
array aspell_suggest (int dictionary_link, string word)
array aspell_suggest
Aspell_suggest() returns an array of possible spellings for the given word.
Example 1. Aspell_suggest()
$aspell_link=aspell_new ("english"); if (!aspell_check ($aspell_link, "test")) { $suggestions=aspell_suggest ($aspell_link, "test"); for ($i=0; $i < count ($suggestions); $i++) { echo "Possible spelling: " . $suggestions[$i] . "<br>"; } }