Bug #11017: Documentation for pspell_new_config() is wrong
| From: | markl at gasupnow dot com | Date: | Tue, 22 May 2001 07:35:19 +0000 |
| Subject: | Bug #11017: Documentation for pspell_new_config() is wrong | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-56191@lists.php.net to get a copy of this message | ||
From: markl@gasupnow.com
Operating system: n/a
PHP version: 4.0.5
PHP Bug Type: Documentation problem
Bug description: Documentation for pspell_new_config() is wrong
The documentation entry for pspell_new_config() at:
http://www.php.net/manual/en/function.pspell-new-config.php
appears to be incorrect.
The example from the page doesn't actually use
pspell_new_config at all. A correct example usage is as
follows:
$pspell_config = pspell_config_create ("en");
pspell_config_personal ($pspell_config,
"/var/dictionaries/custom.pws");
pspell_config_repl ($pspell_config,
"/var/dictionaries/custom.repl");
$pspell_link = pspell_new_config ($pspell_config);
Note the different last line.
--
Edit Bug report at: http://bugs.php.net/?id=11017&edit=1