Warning: file_put_contents(): Only -1 of 73 bytes written, possibly out of free disk space in /var/www/html/index.php on line 3

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/index.php:3) in /var/www/html/cache.php on line 23

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/index.php:3) in /var/www/html/cache.php on line 24

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/index.php:3) in /var/www/html/cache.php on line 25
aspell_check-raw aspell_new Aspell PHP Manual aspell_check (PHP 4 <= 4.2.3) — 檢查一個單字 Description boolean ( int $dictionary_link , string $word ) aspell_check() 檢查一個單字ï¼...
Forum und email

aspell_check

(PHP 4 <= 4.2.3)

aspell_check — 檢查一個單字

Description

boolean aspell_check ( int $dictionary_link , string $word )

aspell_check() 檢查一個單字, 如拼法正確傳回真值, 拼錯了則傳回否值。

Example#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";
}