xref: /PHP-8.0/ext/pspell/pspell.stub.php (revision 4fb5ccf0)
1<?php
2
3/** @generate-function-entries */
4
5function pspell_new(string $language, string $spelling = "", string $jargon = "", string $encoding = "", int $mode = 0): int|false {}
6
7function pspell_new_personal(
8    string $filename,
9    string $language,
10    string $spelling = "",
11    string $jargon = "",
12    string $encoding = "",
13    int $mode = 0
14): int|false {}
15
16function pspell_new_config(int $config): int|false {}
17
18function pspell_check(int $dictionary, string $word): bool {}
19
20function pspell_suggest(int $dictionary, string $word): array|false {}
21
22function pspell_store_replacement(int $dictionary, string $misspelled, string $correct): bool {}
23
24function pspell_add_to_personal(int $dictionary, string $word): bool {}
25
26function pspell_add_to_session(int $dictionary, string $word): bool {}
27
28function pspell_clear_session(int $dictionary): bool {}
29
30function pspell_save_wordlist(int $dictionary): bool {}
31
32function pspell_config_create(string $language, string $spelling = "", string $jargon = "", string $encoding = ""): int {}
33
34function pspell_config_runtogether(int $config, bool $allow): bool {}
35
36function pspell_config_mode(int $config, int $mode): bool {}
37
38function pspell_config_ignore(int $config, int $min_length): bool {}
39
40function pspell_config_personal(int $config, string $filename): bool {}
41
42function pspell_config_dict_dir(int $config, string $directory): bool {}
43
44function pspell_config_data_dir(int $config, string $directory): bool {}
45
46function pspell_config_repl(int $config, string $filename): bool {}
47
48function pspell_config_save_repl(int $config, bool $save): bool {}
49