PHP 8.3.4 Released!

pspell_add_to_session

(PHP 4 >= 4.0.2, PHP 5, PHP 7, PHP 8)

pspell_add_to_sessionAdd the word to the wordlist in the current session

Descrição

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

pspell_add_to_session() adds a word to the wordlist associated with the current session. It is very similar to pspell_add_to_personal()

Parâmetros

dictionary

Uma instância de PSpell\Dictionary.

word

The added word.

Valor Retornado

Retorna true em caso de sucesso ou false em caso de falha.

Registro de Alterações

Versão Descrição
8.1.0 O parâmetro dictionary agora espera uma instância de PSpell\Dictionary; anteriormente, um resource era esperado.
add a note

User Contributed Notes 1 note

up
1
admin at codefisher dot org
16 years ago
This function does not accept hyphenated words, which is kind of annoying.
To Top