Re: [PHP-DOC] Problem with optional parameters

2005-04-04 Thread Jakub Vrana
Christopher Kings-Lynne wrote: > I have modified the docs to show optional parameters, like this: > > stringpg_parameter_status > choice="opt">resourceconnection > > stringparam_name > > string pg_parameter_status ( [resource connection, string param_name] ) This is expecte

Re: [PHP-DOC] Problem with optional parameters

2005-04-04 Thread Christopher Kings-Lynne
Because it shouldn't have been allowed in PHP in the first place. But it IS in PHP, and there are hundreds of functions that use it... Chris

Re: [PHP-DOC] Problem with optional parameters

2005-04-04 Thread Derick Rethans
On Mon, 4 Apr 2005, Christopher Kings-Lynne wrote: > > This is expected, optional parameters are allowed only at the end of > > parameters list. If the parameter in the beginning is optional provide > > two block as in e.g. ibase_blob_echo. > > Gah I hate that style, and wanted to get rid of it.

Re: [PHP-DOC] Problem with optional parameters

2005-04-04 Thread Christopher Kings-Lynne
This is expected, optional parameters are allowed only at the end of parameters list. If the parameter in the beginning is optional provide two block as in e.g. ibase_blob_echo. Gah I hate that style, and wanted to get rid of it. If PHP allows you to have leading optional parameters like in ibase