1
0
mirror of https://github.com/php/doc-en.git synced 2026-03-24 07:42:10 +01:00

Document special handling for "&" in SimpleXml::addChild()

See the comments section for that page: https://www.php.net/manual/en/simplexmlelement.addchild.php
This commit is contained in:
Christian Weiske
2026-03-03 15:38:25 +01:00
parent 462d2bcb3f
commit dca2a8354f

View File

@@ -38,6 +38,10 @@
<para>
If specified, the value of the child element.
</para>
<para>
Special characters <literal>&lt;</literal> and <literal>&gt;</literal> get escaped
automatically, <literal>&amp;</literal> must be escaped manually.
</para>
</listitem>
</varlistentry>
<varlistentry>