pspell_config_data_dir

(PHP 5, PHP 7) location of language data files bool pspell_config_data_dir ( int $conf, string $directory ) Returns: Returns TRUE on success or FALSE on failure. This function is currently not documented; only its argument list is available.

pspell_config_create

(PHP 4 >= 4.0.2, PHP 5, PHP 7) Create a config used to open a dictionary int pspell_config_create ( string $language [, string $spelling [, string $jargon [, string $encoding ]]] ) Create a config used to open a dictionary. pspell_config_create() has a very similar syntax to pspell_new(). In fact, using pspell_config_create() immediately followed by pspell_new_config() will produce the exact same result. However, after

pspell_clear_session

(PHP 4 >= 4.0.2, PHP 5, PHP 7) Clear the current session bool pspell_clear_session ( int $dictionary_link ) pspell_clear_session() clears the current session. The current wordlist becomes blank, and, for example, if you try to save it with pspell_save_wordlist(), nothing happens. Parameters: dictionary_link pspell_clear_session() clears the current session. The current

pspell_check

(PHP 4 >= 4.0.2, PHP 5, PHP 7) Check a word bool pspell_check ( int $dictionary_link, string $word ) pspell_check() checks the spelling of a word. Parameters: dictionary_link pspell_check() checks the spelling of a word. word The tested word. Returns: Returns TRUE if the spelling is correct, FALSE if not.

pspell_add_to_session

(PHP 4 >= 4.0.2, PHP 5, PHP 7) Add the word to the wordlist in the current session bool pspell_add_to_session ( int $dictionary_link, string $word ) pspell_add_to_session() adds a word to the wordlist associated with the current session. It is very similar to pspell_add_to_personal() Parameters: dictionary_link pspell_add_to_session() adds a word to the wordlist associ

pspell_add_to_personal

(PHP 4 >= 4.0.2, PHP 5, PHP 7) Add the word to a personal wordlist bool pspell_add_to_personal ( int $dictionary_link, string $word ) pspell_add_to_personal() adds a word to the personal wordlist. If you used pspell_new_config() with pspell_config_personal() to open the dictionary, you can save the wordlist later with pspell_save_wordlist(). Parameters: dictionary_link

mb_substr

(PHP 4 >= 4.0.6, PHP 5, PHP 7) Get part of string string mb_substr ( string $str, int $start [, int $length = NULL [, string $encoding = mb_internal_encoding() ]] ) Performs a multi-byte safe substr() operation based on number of characters. Position is counted from the beginning of str. First character's position is 0. Second character position is 1, and so on. Parameters: str

mb_substr_count

(PHP 4 >= 4.3.0, PHP 5, PHP 7) Count the number of substring occurrences int mb_substr_count ( string $haystack, string $needle [, string $encoding = mb_internal_encoding() ] ) Counts the number of times the needle substring occurs in the haystack string. Parameters: haystack The string being checked. needle The string being found.

mb_substitute_character

(PHP 4 >= 4.0.6, PHP 5, PHP 7) Set/Get substitution character mixed mb_substitute_character ([ mixed $substrchar = mb_substitute_character() ] ) Specifies a substitution character when input character encoding is invalid or character code does not exist in output character encoding. Invalid characters may be substituted NULL (no output), string or integer value (Unicode character code value). This setting affects mb_co

mb_strwidth

(PHP 4 >= 4.0.6, PHP 5, PHP 7) Return width of string int mb_strwidth ( string $str [, string $encoding = mb_internal_encoding() ] ) Returns the width of string str. Multi-byte characters are usually twice the width of single byte characters. Characters width Chars Width U+0000 - U+0019 0 U+0020 - U+1FFF 1 U+2000 - U+FF60 2 U+FF61 - U+FF9F 1 U+FFA0 - 2 Parameters: str The string