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

From: Date: Tue, 03 Jun 2025 19:04:11 +0000
Subject: [doc-en] master: Rephrased advice in Heredoc string example 6 (#4704)
Groups: php.doc.cvs 
Request: 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>


Thread (1 message)

  • Andrew via GitHub
« previous php.doc.cvs (#22683) next »