Re: [PHP-DEV] Improving output of syntax errors

2020-07-05 Thread Rowan Tommins
On 29/06/2020 10:42, Claude Pache wrote: Another way to give the programmer the appropriate information, is replacing “quoted string” with “single-quoted string” and “double-quoted string”. And while I am thinking about it: a case that tends to cause divergent squint is: unexpected '"', which

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

2020-07-05 Thread Michał Marcin Brzuchalski
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 statements to skip parentheses so they don't look like expressions. This goes to `declare` and `__halt_compiler`.