Re: Parse error: Invalid body indentation level
| From: | Nikita Popov | Date: | Mon, 28 May 2018 20:16:03 +0000 |
| Subject: | Re: Parse error: Invalid body indentation level | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-102152@lists.php.net to get a copy of this message | ||
On Mon, May 28, 2018 at 3:32 PM, Sebastian Bergmann <sebastian@php.net>
wrote:
> Am 28.05.2018 um 14:51 schrieb Nikita Popov:
> > Yes, this is an expected result under the flexible heredoc RFC. To avoid
> > issues, please use a heredoc label that does not occur within the string.
>
> Hmkay, so code that worked fine with PHP 7.1 and PHP 7.2 breaks with PHP
> 7.3. This breaking change should at least be prominently documented. As of
> right now, I do not see such documentation in UPGRADING.
>
Good point, I have added a note in UPGRADING in
https://github.com/php/php-src/commit/c70468b8d3c1d6711da0db84cba30d87d2482e5c
.
Nikita