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
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