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:
@@ -38,6 +38,10 @@
|
||||
<para>
|
||||
If specified, the value of the child element.
|
||||
</para>
|
||||
<para>
|
||||
Special characters <literal><</literal> and <literal>></literal> get escaped
|
||||
automatically, <literal>&</literal> must be escaped manually.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
|
||||
Reference in New Issue
Block a user