[PHP-DOC] Bug #11017 Updated: Documentation for pspell_new_config() is wrong From: vlad <email protected>
Date: 10/09/01

ID: 11017
Updated by: vlad
Reported By: markl <email protected>
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 <email protected>

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