Bug #11017 Updated: Documentation for pspell_new_config() is wrong
| From: | vlad@php.net | Date: | Tue, 09 Oct 2001 18:48:55 +0000 |
| Subject: | Bug #11017 Updated: Documentation for pspell_new_config() is wrong | ||
| References: | 1 | Groups: | php.dev php.doc |
| Request: | Send a blank email to php-dev+get-67627@lists.php.net to get a copy of this message | ||
ID: 11017
Updated by: vlad
Reported By: markl@gasupnow.com
Old Status: Open
Status: Closed
Bug Type: Documentation problem
Operating System: n/a
PHP Version: 4.0.5
New Comment:
ops... Classic Copy-n-Paste error which happens when you try to get documentation out the door...
Thanks.
Fixed
Previous Comments:
------------------------------------------------------------------------
[2001-05-22 09:35:19] markl@gasupnow.com
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 this bug report at http://bugs.php.net/?id=11017&edit=1