[PHP-DEV] Bug #11017: Documentation for pspell_new_config() is wrong From: markl <email protected>
Date: 05/22/01

From: markl <email protected>
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

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>