From:             [EMAIL PROTECTED]
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


-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to