RFC: Type casting in array destructuring expressions

Project Governance
Author
Enno Woortmann
Target
8.0
Adds the possibility to cast values while using array or list destructuring expressions.

Add type casting in array destructuring expressions

Overall Results

yes
no
yes
6 Votes (19%)
no
26 Votes (81%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Choose one or more of the suggested future scopes in which you are interested

Overall Results

reference assignment casts
strict casts
nullable casts
type checks in array destructuring expressions
none
reference assignment casts
0 Votes (0%)
strict casts
16 Votes (27%)
nullable casts
19 Votes (32%)
type checks in array destructuring expressions
25 Votes (42%)
none
0 Votes (0%)

Voting Timeline

Dates based on UTC

Voting Breakdown

reference assignment casts

0 Votes (0%)

nullable casts

19 Votes (32%)

type checks in array destructuring expressions

25 Votes (42%)

none

0 Votes (0%)