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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: markl at gasupnow dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Tue May 06 02:01:28 2025 UTC