Re: Skipping of defaulted parameters.
| From: | Ferenc Kovacs | Date: | Thu, 21 Oct 2010 08:10:34 +0000 |
| Subject: | Re: Skipping of defaulted parameters. | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-49946@lists.php.net to get a copy of this message | ||
On Thu, Oct 21, 2010 at 9:56 AM, Michael Shadle <mike503@gmail.com> wrote:
> On Thu, Oct 21, 2010 at 12:52 AM, Ionut G. Stan <ionut.g.stan@gmail.com>
> wrote:
>
> > Option 5: Implement named parameters?
>
> Option 6: do as other have and just pass an array yourself...
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
With #6, you would lose the argument hinting(either be native, or phpdoc)
feature for your method.
Tyrael