Re: Re: Named Parameters
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
Thread (29 messages)