[doc-en] master: Example emits warning unrelated to content (#5747)
| From: | Kamil Tekiela via GitHub | Date: | Fri, 07 Aug 2026 14:12:51 +0000 |
| Subject: | [doc-en] master: Example emits warning unrelated to content (#5747) | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-23546@lists.php.net to get a copy of this message | ||
Author: Kamil Tekiela (kamil-tekiela)
Committer: GitHub (web-flow)
Pusher: kamil-tekiela
Date: 2026-08-07T15:12:48+01:00
Commit: https://github.com/php/doc-en/commit/e7ec2928daf49d50796dfe74d106eb1068a1c72b
Raw diff: https://github.com/php/doc-en/commit/e7ec2928daf49d50796dfe74d106eb1068a1c72b.diff
Example emits warning unrelated to content (#5747)
Changed paths:
M language/basic-syntax.xml
Diff:
diff --git a/language/basic-syntax.xml b/language/basic-syntax.xml
index fe848d34a73d..4dd4aa380882 100644
--- a/language/basic-syntax.xml
+++ b/language/basic-syntax.xml
@@ -117,7 +117,7 @@ echo "Last statement\n";
<title>Advanced escaping using conditions</title>
<programlisting role="php">
<![CDATA[
-<?php if ($expression == true): ?>
+<?php if (true): ?>
This will show if the expression is true.
<?php else: ?>
Otherwise this will show.