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

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

Reply via email to