pspell_check
(PHP 4 >= 4.0.2, PHP 5)
pspell_check -- 단어 검사
설명
boolean
pspell_check ( int dictionary_link, string word)
pspell_check() 함수는 단어의 철자를 검사하고 올바를 경우 TRUE, 틀릴경우 FALSE를
반환합니다.
예 1.
pspell_check()
$pspell_link = pspell_new ("en");
if (pspell_check ($pspell_link, "testt")) { echo "This is a valid spelling"; } else { echo "Sorry, wrong spelling"; }
|
|