From:             [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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to