> It seems like we have a problem with the proto's constructions :
>
>  From php.net/manual/en/function.dba-fetch.php :
> string *dba_fetch* ( string key [, int skip, resource handle])
>
>  From /en/reference/dba/functions/dba-fetch.xml :
>
>   <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
>
>
> As you may notice here :
>   http://cvs.php.net/co.php/php-src/ext/dba/dba.c?login=2&r=1.96
> the XML file seems okay.
>
> two questions :
>
> - is there a 'hack' available to have the good display ?
> - why the hell do we have an optionnal argument between two needed ones ?

The display is based on the PHP rule, which means that if a parameter
is optional, the additional parameters are also optional. There should
not be a PHP funciton with a proto, where some parameter not on the end
of the param list is optional... ;((

Goba


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

Reply via email to