#22282 [NEW]: function synopsis for dba_fetch() is wrong
| From: | helly@php.net | Date: | Tue, 18 Feb 2003 20:25:26 +0000 |
| Subject: | #22282 [NEW]: function synopsis for dba_fetch() is wrong | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969351844@lists.php.net to get a copy of this message | ||
From: helly@php.net
Operating system: ANY
PHP version: 4.3.0
PHP Bug Type: Documentation problem
Bug description: function synopsis for dba_fetch() is wrong
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 bug report at http://bugs.php.net/?id=22282&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=22282&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=22282&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=22282&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=22282&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=22282&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=22282&r=support
Expected behavior: http://bugs.php.net/fix.php?id=22282&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=22282&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=22282&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=22282&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22282&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=22282&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=22282&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=22282&r=gnused