ID: 22282 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -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] [EMAIL PROTECTED] 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 -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
