when using the future parser, it allows for comma separated statements, and assignment to occur in these.
However, I would like to "splat" an array, using a similar syntax which currently is not supported
This produced (with --parser=future) the following output:
We would like to have a syntax, such as
Which produces the following output:
Multiple variables can be assigned in turn from an array. The variables on the LHS must be in an Array and there must be an equal number of
values in the assigned value array. If the value is not an Array it is treated as an Array of one element. Multi variable assignment supports sub-arrays
of variables to match sub-arrays of values.
severity: medium/low (work arounds available)
test layer: unit