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

search for in the

aspell_check> <Aspell
Last updated: Sun, 25 Nov 2007

view this page in

aspell_check_raw

(PHP 4 <= 4.2.3)

aspell_check_raw — Check a word without changing its case or trying to trim it [deprecated]

说明

bool aspell_check_raw ( int $dictionary_link , string $word )

aspell_check_raw() checks the spelling of a word, without changing its case or trying to trim it in any way.

参数

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_raw() Example

<?php

$aspell_link 
aspell_new("english");

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

?>



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

aspell_check> <Aspell
Last updated: Sun, 25 Nov 2007
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites