[doc-en] master: Remove SimpleXML from bool false examples (#5553)
| From: | Pratik Bhujel via GitHub | Date: | Thu, 14 May 2026 05:40:42 +0000 |
| Subject: | [doc-en] master: Remove SimpleXML from bool false examples (#5553) | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-23310@lists.php.net to get a copy of this message | ||
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>