(PHP 4 >= 4.0.2, PHP 5, PHP 7, PHP 8)
pspell_check — Vérifie un mot
pspell_check() vérifie l'orthographe d'un mot.
   Retourne true si l'orthographe est correcte, false sinon.
  
| Version | Description | 
|---|---|
| 8.1.0 | La paramètre dictionaryattend désormais une instance de
  PSpell\Dictionary ; auparavant, une ressource était expected. | 
Exemple #1 Exemple avec pspell_check()
<?php
$pspell = pspell_new ("fr");
if (pspell_check($pspell, "testt")) {
    echo 'L\'orthographe est exacte';
} else {
    echo 'Désolé, mauvaise orthographe';
}
?>