php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #11017 Documentation for pspell_new_config() is wrong
Submitted: 2001-05-22 09:35 UTC Modified: 2001-10-09 14:48 UTC
From: markl at gasupnow dot com Assigned:
Status: Closed Package: Documentation problem
PHP Version: 4.0.5 OS: n/a
Private report: No CVE-ID: None
 [2001-05-22 09:35 UTC] markl at gasupnow dot 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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-10-09 14:48 UTC] vlad@php.net
ops... Classic Copy-n-Paste error which happens when you try to get documentation out the door... Thanks.

Fixed

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 15:01:32 2024 UTC