#50076 [Opn->Csd]: Improvement for the documentation
| From: | vrana@php.net | Date: | Fri, 13 Nov 2009 17:11:19 +0000 |
| Subject: | #50076 [Opn->Csd]: Improvement for the documentation | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-3104@lists.php.net to get a copy of this message | ||
ID: 50076
Updated by: vrana@php.net
Reported By: iblanco at binovo dot es
-Status: Open
+Status: Closed
Bug Type: Documentation problem
PHP Version: Irrelevant
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.
"return_value[i][j] = NAME of the jth attribute in the ith entry in the
result"
Previous Comments:
------------------------------------------------------------------------
[2009-11-13 17:11:13] svn@php.net
Automatic comment from SVN on behalf of vrana
Revision: http://svn.php.net/viewvc/?view=revision&revision=290678
Log: return_value[i][j] holds name (bug #50076)
------------------------------------------------------------------------
[2009-11-04 15:12:45] iblanco at binovo dot es
Description:
------------
When the documentation talks about the return values there is a line
like this:
return_value[i][j] = jth attribute in the ith entry in the result
Reproduce code:
---------------
---
From manual page: function.ldap-get-entries#Return Values
---
When the documentation talks about the return values there is a line
like this:
return_value[i][j] = jth attribute in the ith entry in the result
That might be incorrectly interpreted as if that element had "the
value" of the attribute. It should be made more clear that what it
contains is "the name" of the attribute.
Expected result:
----------------
return_value[i][j] = NAME of the jth attribute in the ith entry in the
result
Or even with an example:
$attributeName = $return_value[i][j] // name of the jth attribute in
the ith entry in the result.
$firstAttributeValue = $return_value[i][$attributeName][0];
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=50076&edit=1