[DOC-CVS] [doc-en] master: Remove SimpleXML from bool false examples (#5553)

[email protected] (Pratik Bhujel via GitHub) Thu, 14 May 2026 05:40:42 +0000
Newsgroups php.doc.cvs
Message-ID <[email protected]>
Author: Pratik Bhujel (prateekbhujel)
Committer: GitHub (web-flow)
Pusher: devnexen
Date: 2026-05-14T06:40:39+01:00

Commit: https://github.com/php/doc-en/commit/4657c1173e6b3852cdc8db4fc64f380d10ebae0c
Raw diff: https://github.com/php/doc-en/commit/4657c1173e6b3852cdc8db4fc64f380d10ebae0c.diff

Remove SimpleXML from bool false examples (#5553)

Remove the SimpleXML empty-element example from the list of false values. The php-src discussion for GH-21583 settled on documenting the existing behavior rather than changing SimpleXML boolean casts.

Changed paths:
  M  language/types/boolean.xml


Diff:

diff --git a/language/types/boolean.xml b/language/types/boolean.xml
index 2ca481eb3834..57f836bb76df 100644
--- a/language/types/boolean.xml
+++ b/language/types/boolean.xml
@@ -113,9 +113,7 @@ if ($show_separators) {
    <listitem>
     <simpara>
      Internal objects that overload their casting behaviour to bool.
-     For example: <link linkend="ref.simplexml">SimpleXML</link> objects
-     created from empty elements without attributes, or
-     <classname>GMP</classname> objects representing the value
+     For example, <classname>GMP</classname> objects representing the value
      <literal>0</literal>.
     </simpara>
    </listitem>