go to bug id or search bugs for
PHP 7.3 introduced a minor BC syntax break against 7.2.
Likely this regression was introduced while refactoring to introduce support for flexible heredoc/nowdoc syntax in 7.3.
You can see a failing build here:
This build succeeds under 7.1 and 7.2, but fails under 7.3.
You can see the parse error affecting 7.3.0 and 7.3.1 here:
(by the way: looks like the documentation page was never updated to reflect changed from the flexible heredoc/nowdoc syntax RFC.)
$mime_header = <<<MIME
Date: Thu, 15 Sep 2016 17:20:54 +0200
Content-Type: text/plain; charset=UTF-8
Exits with the following error:
> Parse error: syntax error, unexpected ':' in /in/1H0l7 on line 5
Add a Patch
Add a Pull Request
Isn't this the part mentioned at http://php.net/manual/en/migration73.incompatible.php ???? ?
> Due to the introduction of flexible heredoc/nowdoc syntax, doc strings that contain the ending label inside their body may cause syntax errors or change in interpretation
This has been changed deliberately, and is alread documented in
the migration guide. The heredoc/nowdoc docs are not yet
up-to-date, so I'm changing to doc problem.