Re: [PHP-DEV] [VOTE] Type casting in array destructuring expressions

2020-04-23 Thread Enno Woortmann



Am 09.04.2020 um 11:41 schrieb Enno Woortmann:

Hi together,

I have opened the voting for adding type casting in array destructuring
expressions:

https://wiki.php.net/rfc/typecast_array_desctructuring

As the future scopes section of this proposal includes additional
possible topics (eg. strict casts or the alternative solution via
regular type checks in array destructuring expressions) I've included an
additional poll to see which of these topics may be tackled in the near
future.

Voting closes on April 23th.

Thanks for everyone participating in the vote.

Cheers, Enno



Hi,

the voting has been closed. The RFC is declined with 6 votes in favour
and 26 votes against adding type casting in array destructuring expressions.

Cheers, Enno

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DEV] [VOTE] Type casting in array destructuring expressions

2020-04-09 Thread Enno Woortmann

Hi together,

I have opened the voting for adding type casting in array destructuring
expressions:

https://wiki.php.net/rfc/typecast_array_desctructuring

As the future scopes section of this proposal includes additional
possible topics (eg. strict casts or the alternative solution via
regular type checks in array destructuring expressions) I've included an
additional poll to see which of these topics may be tackled in the near
future.

Voting closes on April 23th.

Thanks for everyone participating in the vote.

Cheers, Enno