Re: AW: [PHP-DEV] [RFC] Allow specifying keys in list()

2016-01-20 Thread Thomas Bley
Hi Robert, for named parameters, I would prefer this syntax over list(): function foo($foo, [a: string $a, b: int &$b, c: bool $c = true]) { ... work with $foo, $a, $b, $c } $b = 42; foo('foo', ['a' => 'bar', 'b' => $b]); function bar($foo, SomeClass {a: string $a, b: int &$b, c: bool $c = tru

AW: [PHP-DEV] [RFC] Allow specifying keys in list()

2016-01-20 Thread Robert Stoll
Hi Andrea I am writing you in private since I think this is rather out of scope. -Ursprüngliche Nachricht- > Von: Pierre Joye [mailto:pierre@gmail.com] > Gesendet: Montag, 18. Januar 2016 05:54 > An: Andrea Faulds > Cc: PHP internals > Betreff: Re: [PHP-DEV] [RFC] Allow specifying ke