Re: Re: Named Parameters
| From: | Pierre Joye | Date: | Mon, 12 Apr 2010 23:30:41 +0000 |
| Subject: | Re: Re: Named Parameters | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-47899@lists.php.net to get a copy of this message | ||
On Tue, Apr 13, 2010 at 1:28 AM, Stanislav Malyshev <stas@zend.com> wrote:
> I think that's the idea in general, now how it looks like - be it 'opt1' =>
> 'no-foo' or opt1: 'no-foo' - that's the decision we need to take. I
> personally still don't have the favorite, but in every case we still have
> the full params list, otherwise the whole story is kind of useless - we can
> pass arrays as arrays now.
I'd to go with opt1: 'value', I really don't the idea of having to use
quotes for the name of the argument.
Cheers,
--
Pierre
@pierrejoye | http://blog.thepimp.net | http://www.libgd.org