(PHP 4 <= 4.2.3)
aspell_check — Vérifie un mot [Obsolète]
aspell_check() vérifie l'orthographe d'un mot.
L'identifiant du lien vers le dictionnaire retourné par la fonction aspell_new() .
Le mot testé.
Retourne TRUE si l'orthographe est correct, FALSE sinon.
Exemple 473. Exemple avec aspell_check()
<?php
$aspell_link
=
aspell_new
(
"english"
);
if (
aspell_check
(
$aspell_link
,
"testt"
)) {
echo
"L'orthographe est correct"
;
} else {
echo
"Désolé, l'orthographe est incorrect"
;
}
?>
aspell_check_raw() |