I like!

My preference on syntax is;

test(:foo => "oof", :bar => "rab");

I don't think;

test("foo" => "oof", "bar" => "rab");

denotes enough emphasis on any part in-particular, and the downsides
of other implementations are mentioned, such as variable names and
collisions with reserved keywords.

Thanks,
Gareth

On 6 September 2013 17:39, Nikita Popov <nikita....@gmail.com> wrote:
> Hi internals!
>
> I created an RFC and preliminary implementation for named parameters:
>
>     https://wiki.php.net/rfc/named_params
>
> The RFC and implementation are not yet complete. I mainly want to have
> feedback on the idea in general and on the Open Questions (
> https://wiki.php.net/rfc/named_params#open_questions) in particular.
>
> Thanks,
> Nikita

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to