Re: Problem with optional parameters
| From: | Derick Rethans | Date: | Mon, 04 Apr 2005 08:12:30 +0000 |
| Subject: | Re: Problem with optional parameters | ||
| References: | 1 2 3 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969367384@lists.php.net to get a copy of this message | ||
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 <methodsynopsis> 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_blob_echo,
> when why not allow it in the manual??!?!
Because it shouldn't have been allowed in PHP in the first place.
Derick