略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: pspell_add_to_session

2024-12-20

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

说明

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()

参数

dictionary

An PSpell\Dictionary instance.

word

The added word.

返回值

成功时返回 true, 或者在失败时返回 false

更新日志

版本 说明
8.1.0 The dictionary parameter expects an PSpell\Dictionary instance now; previously, a 资源(resource) was expected.
add a noteadd a note

User Contributed Notes 1 note

up
0
admin at codefisher dot org
14 years ago
This function does not accept hyphenated words, which is kind of annoying.

官方地址:https://www.php.net/manual/en/function.pspell-add-to-session.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3