Re: [RFC] [DISCUSSION] Type casting in array destructuring expressions

From: Date: Wed, 25 Mar 2020 20:44:10 +0000
Subject: Re: [RFC] [DISCUSSION] Type casting in array destructuring expressions
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-109313@lists.php.net to get a copy of this message
To me, this is almost a good idea. However, I would want regular type checking, not casts. Importantly, regular type checks would fit well on allowing array destructuring directly in function signatures, which would basically be a form of named parameters.

« previous php.internals (#109313) next »