[DOC-CVS] [doc-en] master: Example emits warning unrelated to content (#5747)

[email protected] (Kamil Tekiela via GitHub)
Newsgroups php.doc.cvs
Message-ID <[email protected]>
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.
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.