#22282 [Opn->Csd]: function synopsis for dba_fetch() is wrong
| From: | alindeman@php.net | Date: | Tue, 01 Apr 2003 23:27:35 +0000 |
| Subject: | #22282 [Opn->Csd]: function synopsis for dba_fetch() is wrong | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969352428@lists.php.net to get a copy of this message | ||
ID: 22282
Updated by: alindeman@php.net
Reported By: helly@php.net
-Status: Open
+Status: Closed
Bug Type: Documentation problem
Operating System: ANY
PHP Version: 4.3.0
New Comment:
If it's fixed in the XML file, the documentation probably hasn't
updated (there has been some problem with that lately). Should be
fixed when documentation starts updating again...
Previous Comments:
------------------------------------------------------------------------
[2003-02-18 14:25:26] helly@php.net
The documentation says both skip and handle parameter are optional,
that is wrong.
string dba_fetch ( string key [, int skip, resource handle])
Instead only the skip parameter is optional. A look at the xml file
snippet below shows it is correct.
<methodsynopsis>
<type>string</type><methodname>dba_fetch</methodname>
<methodparam><type>string</type><parameter>key</parameter></methodparam>
<methodparam
choice="opt"><type>int</type><parameter>skip</parameter></methodparam>
<methodparam><type>resource</type><parameter>handle</parameter></methodparam>
</methodsynopsis>
Therefore the documentation should state:
string dba_fetch ( string key [, int skip], resource handle)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22282&edit=1