Re: [PHP-DEV] [VOTE] throw expression

2020-04-05 Thread Ilija Tovilo
Hi George > Maybe I'm out of the loop but I haven't seen this before It's my fault, my e-mails went to the spam folder for many people. I'm sending my e-mails from a different address now which seems to have resolved the problem. > What is the limitation leading to this behaviour? It's to maint

Re: [PHP-DEV] [VOTE] throw expression

2020-04-05 Thread Ilija Tovilo
Hi Nikita > The only thing wrong here is calling this an "exception to the rule" in the > RFC. This is completely standard and expected behavior given the specified > precedence. It is in the nature of precedence that there will always be cases > where the use of () is required, and this is one

Re: [PHP-DEV] [VOTE] throw expression

2020-04-05 Thread Nikita Popov
On Sun, Apr 5, 2020 at 2:05 PM Ilija Tovilo wrote: > Sorry Dan, at the time I sent this e-mail I wasn't aware you wouldn't > receive it. After not hearing from you I assumed you were ok with my > response. > > > The issue is that as your words are written, it is not possible for me > > to underst

Re: [PHP-DEV] [VOTE] throw expression

2020-04-05 Thread G. P. B.
On Sun, 5 Apr 2020 at 12:03, Ilija Tovilo wrote: > Hi internals, > > I hope you're doing well. > > I have opened voting for the throw expression RFC. > https://wiki.php.net/rfc/throw_expression > > Voting closes on April 19th, 2020. > > Regards, > Ilija > > -- > PHP Internals - PHP Runtime Develo

Re: [PHP-DEV] [VOTE] throw expression

2020-04-05 Thread Dan Ackroyd
On Sun, 5 Apr 2020 at 13:05, Ilija Tovilo wrote: > > "What are the rules here, can" "... the rules are more what you'd call "guidelines" than actual rules." As a project we should clarify exactly what is meant to happen when issues are found in an RFC that affect how people are going to vote. B

Re: [PHP-DEV] [VOTE] throw expression

2020-04-05 Thread Ilija Tovilo
Sorry Dan, at the time I sent this e-mail I wasn't aware you wouldn't receive it. After not hearing from you I assumed you were ok with my response. > The issue is that as your words are written, it is not possible for me > to understand exactly what you mean. To be fair, you omitted the next sen

Re: [PHP-DEV] [VOTE] throw expression

2020-04-05 Thread Dan Ackroyd
Hi Ilija, On Sun, 5 Apr 2020 at 11:53, Ilija Tovilo wrote: > > > I did respond to that e-mail but probably got classified as spam as > were the other e-mails I sent with that address. This was my response: > > > I've thought about this some more. There is a reasonable way to recognize > > this,

Re: [PHP-DEV] [VOTE] throw expression

2020-04-05 Thread Ilija Tovilo
Hi Dan > Did the RFC get updated to address this? > > As the current behaviour listed* in the RFC seems wrong and surprising to me. I did respond to that e-mail but probably got classified as spam as were the other e-mails I sent with that address. This was my response: > I've thought about this

Re: [PHP-DEV] [VOTE] throw expression

2020-04-05 Thread Dan Ackroyd
Hi Iija, During the discussion of the precedence, you wrote: > There is a reasonable way to recognize this, namely to check if the expression > after the throw keyword is of type ZEND_AST_OR or ZEND_AST_AND. The > expression above will fail with this message (given that $condition is false): Did

[PHP-DEV] [VOTE] throw expression

2020-04-05 Thread Ilija Tovilo
Hi internals, I hope you're doing well. I have opened voting for the throw expression RFC. https://wiki.php.net/rfc/throw_expression Voting closes on April 19th, 2020. Regards, Ilija -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php