Re: Re: [RFC][DISCUSSION] Match expression v2

From: Date: Tue, 23 Jun 2020 08:30:10 +0000
Subject: Re: Re: [RFC][DISCUSSION] Match expression v2
References: 1 2 3 4 5 6 7 8 9  Groups: php.internals 
Request: Send a blank email to internals+get-110702@lists.php.net to get a copy of this message
Hi Björn

>> I'd like to announce the match expression v2 RFC:
>> https://wiki.php.net/rfc/match_expression_v2

> Absolutely so. I was thinking of the case mentioned in v1 RFC when it's used
> as a stand-alone expression.
> match ($y) {
> ...
> };
>   ` Optional?

In this RFC the semicolon is required. Many people thought the grammar
rules for the optional semicolon were confusing which is why I dropped
that feature in this RFC.

Ilija


Thread (28 messages)

« previous php.internals (#110702) next »