Send a blank email to [email protected] to get a copy of this message
Author: Andrew (Andrew-Staves-Activ)
Committer: GitHub (web-flow)
Pusher: tiffany-taylor
Date: 2025-06-03T13:52:27-05:00
Commit: https://github.com/php/doc-en/commit/2832df2e1bd7daa1ec29ffb167dce1c9feb8cc6b
Raw diff: https://github.com/php/doc-en/commit/2832df2e1bd7daa1ec29ffb167dce1c9feb8cc6b.diff
Rephrased advice in Heredoc string example 6 (#4704)
Changed paths:
M language/types/string.xml
Diff:
diff --git a/language/types/string.xml b/language/types/string.xml
index e8686d6df916..147256930682 100644
--- a/language/types/string.xml
+++ b/language/types/string.xml
@@ -397,8 +397,8 @@ Parse error: syntax error, unexpected identifier "ING", expecting
"]" in example
<simpara>
To avoid this problem, it is safe to follow the simple rule:
- <emphasis>do not choose as a closing identifier if it appears in the body
- of the text</emphasis>.
+ <emphasis>do not choose a word that appears in the body of the text
+ as a closing identifier</emphasis>.
</simpara>
</warning>