> > As noted in the RFC, this isn't possible due to ambiguities with array > keys and yield expressions with keys. >
There are not ambiguities technically, so it is possible if we want to:
$a = [
$y => 'b',
($x) => $x + 1, // key, value pair
];
$a = [
$y => 'b',
(($x) => $x + 1), // closure
];
