PHP: aspell_check - Manual

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: Sat, 27 Jan 2007

view this page in

# aspell_check

(PHP 3 >= 3.0.7, 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.

## Примеры

Пример 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";
}
?>`

## Смотрите также

aspell_check_raw()

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

Last updated: Sat, 27 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 09:32:46 2007 PST