pspell_check

PHP 4 >= 4.0.2, PHP 5, PHP 7, PHP 8
pspell_check - Check a word
Manual
Code Examples

pspell_check( PSpell\Dictionary$dictionary, string$word ): bool

pspell_check checks the spelling of a word.

Parameters

dictionary

An PSpell\Dictionary instance.

word

The tested word.

Return Values

Returns true if the spelling is correct, false if not.

Changelog

Version Description
8.1.0 The dictionary parameter expects an PSpell\Dictionary instance now; previously, a resource was expected.

Example of pspell_check

Show all examples for pspell_check

PHP Version: