Forum und email

aspell_check

(PHP 4 <= 4.2.3)

aspell_check — 단어 검사 [deprecated]

설명

bool aspell_check ( int $dictionary_link , string $word )

aspell_check()는 단어의 철자를 검사하고, 올바르면 TRUE를 틀리면 FALSE를 반환한다.

Example#1 aspell_check()

<?php

$aspell_link 
aspell_new("english");

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

?>