PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

aspell_new> <aspell_check_raw
Last updated: Mon, 26 Nov 2007

view this page in

aspell_check

(PHP 4 <= 4.2.3)

aspell_check — Check a word [deprecated]

说明

bool aspell_check ( int $dictionary_link , string $word )

aspell_check() checks the spelling of a word.

参数

dictionary_link

The dictionnary link identifier returned by aspell_new().

word

The tested word.

返回值

Returns TRUE if the spelling is correct, FALSE if not.

范例

Example#1 aspell_check() Example

<?php

$aspell_link 
aspell_new("english");

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

?>



add a note add a note User Contributed Notes
aspell_check
There are no user contributed notes for this page.

aspell_new> <aspell_check_raw
Last updated: Mon, 26 Nov 2007
 
 
show source | credits | sitemap | contact | advertising | mirror sites