Doc #70890 [Opn->Csd]: Invalid "Return values" section for enchant_dict_add_to_session documentaion
| From: | cmb@php.net | Date: | Thu, 17 Dec 2015 11:52:07 +0000 |
| Subject: | Doc #70890 [Opn->Csd]: Invalid "Return values" section for enchant_dict_add_to_session documentaion | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-12949@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=70890&edit=1
ID: 70890
Updated by: cmb@php.net
Reported by: justpusher at gmail dot com
Summary: Invalid "Return values" section for
enchant_dict_add_to_session documentaion
-Status: Open
+Status: Closed
Type: Documentation Problem
Package: Documentation problem
PHP Version: 5.5.30
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation better.
Previous Comments:
------------------------------------------------------------------------
[2015-12-17 11:51:38] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=338284
Log: fixed #70890: Invalid "Return values" section for enchant_dict_add_to_session
documentation
------------------------------------------------------------------------
[2015-11-16 15:39:01] marcosptf at yahoo dot com dot br
you are totally right!
recently i wrote a test that don't expect true or false like on doc said, there are waiting
null value because this function is a void.
https://github.com/php/php-src/blob/250938e2d35fc54161a18167b7901c5e3b574371/ext/enchant/tests/dict_add_to_session.phpt#L25
congratulations, you saw one thing that many peoples maybe have seen but don't pay attencion!
:D
------------------------------------------------------------------------
[2015-11-11 12:36:27] justpusher at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/function.enchant-dict-add-to-session
---
For enchant_dict_add_to_session function, documentation says:
Return Values
Returns TRUE on success or FALSE on failure.
Actually function seems to return no value. This corresponds to description:
void enchant_dict_add_to_session ( resource $dict , string $word )
The translations are wrong, too.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=70890&edit=1