On Mon, May 28, 2018 at 2:24 PM, Sebastian Bergmann <sebast...@php.net>
wrote:

> Hi!
>
> https://github.com/sebastianbergmann/diff/blob/
> master/tests/ParserTest.php#L79
> triggers a
>
> Parse error: Invalid body indentation level (expecting an indentation
> level of at least 1) in /path/to/ParserTest.php on line 79
>
> with current PHP 7.3.0-dev (master); the code in question works fine with
> PHP 7.1 and PHP 7.2.
>
> Is this intended behavior? Is this related to
> https://wiki.php.net/rfc/flexible_heredoc_nowdoc_syntaxes?
>

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.

Nikita

Reply via email to