aspell_check_raw

(PHP 3>= 3.0.7, PHP 4 )

aspell_check_raw --  단어의 철자가 올바른지만 검사

설명

boolean aspell_check_raw ( int dictionary_link, string word)

aspell_check_raw() 함수는 단어가 올바른지만 검사합니다. 단어가 올바를 경우 TRUE, 틀릴 경우 FALSE를 반환합니다.

예 1. aspell_check_raw()

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