Re: [PHP-DEV] [RFC][DISCUSSION] Language Constructs Syntax Changes

2020-07-13 Thread Dik Takken
On 05-07-2020 09:35, Michał Marcin Brzuchalski wrote: > The proposal is to allow two statements to skip parentheses so they don't > look like expressions. I like small improvements like this one. They may not look like much but they do add up to arrive at a cleaner language in the long run. Howev

Re: [PHP-DEV] [RFC][DISCUSSION] Language Constructs Syntax Changes

2020-07-13 Thread Benas IML
Hey Michał, Personally, I think instead of making `declare(strict_types=1);` to look more like a constant, we should make it look more like a function. Since it seems that the named parameters RFC is going to be accepted, I think allowing for alternative `declare(strict_types: 1);` syntax would m

Re: [PHP-DEV] [RFC][DISCUSSION] Language Constructs Syntax Changes

2020-07-13 Thread Michał Marcin Brzuchalski
Hi Nikita, pon., 13 lip 2020 o 12:41 Nikita Popov napisał(a): > On Sun, Jul 5, 2020 at 9:36 AM Michał Marcin Brzuchalski < > michal.brzuchal...@gmail.com> wrote: > >> Hi internals, >> >> I realise we're tight to the deadline but from my calculations, >> this RFC should fit with 2w discussion and

Re: [PHP-DEV] [RFC][DISCUSSION] Language Constructs Syntax Changes

2020-07-13 Thread Nikita Popov
On Sun, Jul 5, 2020 at 9:36 AM Michał Marcin Brzuchalski < michal.brzuchal...@gmail.com> wrote: > Hi internals, > > I realise we're tight to the deadline but from my calculations, > this RFC should fit with 2w discussion and 2w voting before feature freeze. > > The proposal is to allow two stateme