8.4 Aspell [Obs.]
8 Référence des fonctions
Manuel PHP
. Introduction . Pré-requis . Installation . Voir aussi . aspell_check_raw ->aspell_check . aspell_new . aspell_suggest
|
8.4.6 aspell_check()Vérifie un mot [Obsolète][ Exemples avec aspell_check ] PHP 3 >= 3.0.7, PHP 4 <= 4.2.3
bool
aspell_check (
int
dictionary_link
,
string
word
)
aspell_check
vérifie l'orthographe d'un mot
et retourne
TRUE
si l'orthographe est correcte,
FALSE
sinon.
| Exemple avec aspell_check |
<?php
$aspell_link = aspell_new("french");
if (aspell_check($aspell_link, "testt")) { echo "L'orthographe est correcte."; } else { echo "Désolé, l'orthographe est incorrecte."; }
?>
|
|