Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flexible heredoc/nowdoc is undocumented #741

Closed
astiob opened this issue Jun 28, 2021 · 1 comment · Fixed by #829
Closed

Flexible heredoc/nowdoc is undocumented #741

astiob opened this issue Jun 28, 2021 · 1 comment · Fixed by #829

Comments

@astiob
Copy link

astiob commented Jun 28, 2021

From manual page: https://php.net/language.types.string


Heredoc documentation still insists, with a big red warning box and an example, that the closing marker must be by itself on a line without leading whitespace and trailed by only at most a semicolon. This is not true since PHP 7.3, which introduced “flexible” heredoc/nowdoc syntax.

@cmb69
Copy link
Contributor

cmb69 commented Jun 28, 2021

This has already been reported as https://bugs.php.net/bug.php?id=78425. Not sure which one to close as duplicate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants