PHP Manual
This manual is provided as a courtesy. It is not an official source. Please check php.net for updated information.
(PHP 3 >= 3.0.7, PHP 4 <= 4.2.3)
aspell_suggest() returns an array of possible spellings for the given word.
Example 1. aspell_suggest()
<?php$aspell_link = aspell_new("english");if (!aspell_check($aspell_link, "test")) { $suggestions = aspell_suggest($aspell_link, "test"); foreach ($suggestions as $suggestion) { echo "Possible spelling: $suggestion<br />\n"; }}?>