Date: 02/18/03
- Next message: phpdig at toiletoine dot net: "[PHP-DOC] #22008 [Com]: fgetss : 0 vs false, html on multiple lines"
- Previous message: moriyoshi <email protected>: "[PHP-DOC] #22275 [Ana]: CLI and --enable-mime-magic Spews Warnings"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: helly <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
- Next message: phpdig at toiletoine dot net: "[PHP-DOC] #22008 [Com]: fgetss : 0 vs false, html on multiple lines"
- Previous message: moriyoshi <email protected>: "[PHP-DOC] #22275 [Ana]: CLI and --enable-mime-magic Spews Warnings"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

