PHP 8.3.4 Released!

pspell_config_save_repl

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

pspell_config_save_replDetermine whether to save a replacement pairs list along with the wordlist

Descrição

pspell_config_save_repl(PSpell\Config $config, bool $save): bool

pspell_config_save_repl() determines whether pspell_save_wordlist() will save the replacement pairs along with the wordlist. Usually there is no need to use this function because if pspell_config_repl() is used, the replacement pairs will be saved by pspell_save_wordlist() anyway, and if it is not, the replacement pairs will not be saved.

pspell_config_save_repl() should be used on a config before calling pspell_new_config().

Parâmetros

config

Uma instância de PSpell\Config.

save

true if replacement pairs should be saved, false otherwise.

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 config agora espera uma instância de PSpell\Config; anteriormente, um resource era esperado.

Notas

Nota:

This function will not work unless you have pspell .11.2 and aspell .32.5 or later.

add a note

User Contributed Notes

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