Re: [DISCUSSION] Match expression
| From: | Rowan Tommins | Date: | Mon, 20 Apr 2020 20:09:41 +0000 |
| Subject: | Re: [DISCUSSION] Match expression | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-109729@lists.php.net to get a copy of this message | ||
On 20/04/2020 19:19, Ilija Tovilo wrote:
Just a heads up, I'd like to start the voting on the match expression RFC in a couple of days. https://wiki.php.net/rfc/match_expression I have made a number of changes to the RFC. * Block return values are now allowed but limited to match arms (https://wiki.php.net/rfc/match_expression#blocks) [...] If you have anything new to add to the discussion, this is your chance!Would you consider making the block support an additional vote? Alternatively, if the RFC as proposed doesn't pass, would you be willing to propose a version without this? If not, I might be inclined to do so, because I know I'm not alone in liking the expression part as a standalone feature, without the complexity of using it as a flow-control statement as well. Regards, -- Rowan Tommins (né Collins) [IMSoP]