On Tue, 23 Jun 2020 at 09:54, Björn Larsson
wrote:
>
> Ok, thanks for the clarification. The reason for me to bring
> this up is that I was pondering on if this is the only place in
> PHP where a semicolon is required after a curly bracket
> when not used in an expression.
>
Two things:
- as p
Den 2020-06-23 kl. 10:30, skrev Ilija Tovilo:
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?
I
Hey,
On Tue, Jun 23, 2020, 11:34 AM Ilija Tovilo wrote:
> Hi Benas
>
> >> I'd like to announce the match expression v2 RFC:
> >> https://wiki.php.net/rfc/match_expression_v2
>
> > Then it's not a standalone expression but a block. In this case, you
> cannot add an optional semicolon at all.
> >
Hi Benas
>> I'd like to announce the match expression v2 RFC:
>> https://wiki.php.net/rfc/match_expression_v2
> Then it's not a standalone expression but a block. In this case, you cannot
> add an optional semicolon at all.
>
> But this RFC v2 is not proposing to add a block, therefore you won't
On Tue, Jun 23, 2020, 11:23 AM Björn Larsson
wrote:
> Den 2020-06-22 kl. 18:05, skrev Benas IML:
>
> > On Mon, Jun 22, 2020, 6:35 PM Björn Larsson
> > wrote:
> >
> >> Hi Ilija,Den 2020-06-18 kl. 22:51, skrev Ilija Tovilo:
> >>
> >>> Hi Björn
> >>>
> > I'd like to announce the match expressio
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 requi
Den 2020-06-22 kl. 18:05, skrev Benas IML:
On Mon, Jun 22, 2020, 6:35 PM Björn Larsson
wrote:
Hi Ilija,Den 2020-06-18 kl. 22:51, skrev Ilija Tovilo:
Hi Björn
I'd like to announce the match expression v2 RFC:
https://wiki.php.net/rfc/match_expression_v2
Well one could argue that when work
On Mon, Jun 22, 2020, 6:35 PM Björn Larsson
wrote:
> Hi Ilija,Den 2020-06-18 kl. 22:51, skrev Ilija Tovilo:
>
> > Hi Björn
> >
> >>> I'd like to announce the match expression v2 RFC:
> >>> https://wiki.php.net/rfc/match_expression_v2
> >> Well one could argue that when working with legacy code co
Hi Ilija,Den 2020-06-18 kl. 22:51, skrev Ilija Tovilo:
Hi Björn
I'd like to announce the match expression v2 RFC:
https://wiki.php.net/rfc/match_expression_v2
Well one could argue that when working with legacy code containing
switch statements where one gradually migrates to match, it might b
Hi Björn
>> I'd like to announce the match expression v2 RFC:
>> https://wiki.php.net/rfc/match_expression_v2
> Well one could argue that when working with legacy code containing
> switch statements where one gradually migrates to match, it might be
> easier to have the same separator, i.e. ":".
Den 2020-06-16 kl. 18:17, skrev Ilija Tovilo:
Hi Björn
I'd like to announce the match expression v2 RFC:
https://wiki.php.net/rfc/match_expression_v2
I do like this RFC and have one comment. Would it be suitable
to have : as a separator instead of =>?
`=>` is usually used in combination expre
Hi internals
> I'd like to announce the match expression v2 RFC:
> https://wiki.php.net/rfc/match_expression_v2
Last reminder: I'm opening the vote on Friday. The vote is going to be
a straightforward yes/no vote.
Ilija
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, vi
Hi Björn
>>> I'd like to announce the match expression v2 RFC:
>>> https://wiki.php.net/rfc/match_expression_v2
>
> I do like this RFC and have one comment. Would it be suitable
> to have : as a separator instead of =>?
`=>` is usually used in combination expressions (arrays, yield, arrow
functio
Den 2020-06-06 kl. 00:09, skrev Ilija Tovilo:
Hi internals
I'd like to announce the match expression v2 RFC:
https://wiki.php.net/rfc/match_expression_v2
Small reminder: Two weeks have passed since I announced the match v2
RFC with little new discussion. I'll leave it open for another two
wee
On Fri, Jun 5, 2020 at 3:10 PM Ilija Tovilo wrote:
>
> Hi internals
>
> > I'd like to announce the match expression v2 RFC:
> > https://wiki.php.net/rfc/match_expression_v2
>
> Small reminder: Two weeks have passed since I announced the match v2
> RFC with little new discussion. I'll leave it open
Hi internals
> I'd like to announce the match expression v2 RFC:
> https://wiki.php.net/rfc/match_expression_v2
Small reminder: Two weeks have passed since I announced the match v2
RFC with little new discussion. I'll leave it open for another two
weeks and put it to a vote then if there are no o
16 matches
Mail list logo