aspell_check

(PHP 3>= 3.0.7, PHP 4 )

aspell_check -- 단어 검사

설명

boolean aspell_check ( int dictionary_link, string word)

aspell_check() 함수는 단어를 검사하고 단어가 올바를 경우 TRUE, 틀릴 경우 FALSE를 반환합니다.

예 1. aspell_check()

$aspell_link=aspell_new ("english");
if (aspell_check ($aspell_link, "testt")) {
    echo "This is a valid spelling";
} else {
    echo "Sorry, wrong spelling";
}