enchant_dict_check

(PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL enchant >= 0.1.0 )

enchant_dict_checkVerifica si una palabra está correctamente escrita

Descripción

enchant_dict_check(EnchantDictionary $dictionary, string $word): bool

Devuelve true si la palabra word está correctamente escrita, false en caso contrario.

Parámetros

dictionary

An Enchant dictionary returned by enchant_broker_request_dict() or enchant_broker_request_pwl_dict().

word

La palabra a verificar

Valores devueltos

Devuelve true si la palabra está correctamente escrita, false en caso contrario.

Historial de cambios

Versión Descripción
8.0.0 dictionary expects an EnchantDictionary instance now; previoulsy, a recurso was expected.
add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top