[DOC-CVS] [doc-en] master: Rephrased advice in Heredoc string example 6 (#4704)

[email protected] (Andrew via GitHub)
Newsgroups php.doc.cvs
Message-ID <[email protected]>
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>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.