#50076 [NEW]: Improvement for the documentation

From: Date: Wed, 04 Nov 2009 15:12:45 +0000
Subject: #50076 [NEW]: Improvement for the documentation
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-3046@lists.php.net to get a copy of this message
From: iblanco at binovo dot es Operating system: PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: Improvement for the documentation 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 bug report at http://bugs.php.net/?id=50076&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=50076&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=50076&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=50076&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=50076&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=50076&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=50076&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=50076&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=50076&r=needscript Try newer version: http://bugs.php.net/fix.php?id=50076&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=50076&r=support Expected behavior: http://bugs.php.net/fix.php?id=50076&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=50076&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=50076&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=50076&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=50076&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=50076&r=dst IIS Stability: http://bugs.php.net/fix.php?id=50076&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=50076&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=50076&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=50076&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=50076&r=mysqlcfg

« previous php.doc.bugs (#3046) next »