reference/dom/domdocument/savexml.xml
40476b2960f884b088d77f38b6bef2c43b662d10
...
...
@@ -9,9 +9,9 @@
9
9
</refnamediv>
10
10
<refsect1 role="description">
11
11
&reftitle.description;
12
-
<methodsynopsis>
13
-
<modifier>public</modifier> <type>string</type><methodname>DOMDocument::saveXML</methodname>
14
-
<methodparam choice="opt"><type>DOMNode</type><parameter>node</parameter></methodparam>
12
+
<methodsynopsis role="DOMDocument">
13
+
<modifier>public</modifier> <type class="union"><type>string</type><type>false</type></type><methodname>DOMDocument::saveXML</methodname>
14
+
<methodparam choice="opt"><type class="union"><type>DOMNode</type><type>null</type></type><parameter>node</parameter><initializer>&null;</initializer></methodparam>
15
15
<methodparam choice="opt"><type>int</type><parameter>options</parameter><initializer>0</initializer></methodparam>
16
16
</methodsynopsis>
17
17
<para>
...
...
@@ -37,8 +37,11 @@
37
37
<term><parameter>options</parameter></term>
38
38
<listitem>
39
39
<para>
40
-
Additional Options. Currently only <link
41
-
linkend="libxml.constants">LIBXML_NOEMPTYTAG</link> is supported.
40
+
Additional Options.
41
+
The <link linkend="libxml.constants">LIBXML_NOEMPTYTAG</link>
42
+
and <link linkend="libxml.constants">LIBXML_NOXMLDECL</link> options are supported.
43
+
Prior to PHP 8.3.0, only the <link linkend="libxml.constants">LIBXML_NOEMPTYTAG</link>
44
+
option is supported.
42
45
</para>
43
46
</listitem>
44
47
</varlistentry>
...
...
@@ -70,26 +73,24 @@
70
73

71
74
<refsect1 role="changelog">
72
75
&reftitle.changelog;
73
-
<para>
74
-
<informaltable>
75
-
<tgroup cols="2">
76
-
<thead>
77
-
<row>
78
-
<entry>&Version;</entry>
79
-
<entry>&Description;</entry>
80
-
</row>
81
-
</thead>
82
-
<tbody>
83
-
<row>
84
-
<entry>5.1.0</entry>
85
-
<entry>
86
-
Added the <parameter>options</parameter> parameter
87
-
</entry>
88
-
</row>
89
-
</tbody>
90
-
</tgroup>
91
-
</informaltable>
92
-
</para>
76
+
<informaltable>
77
+
<tgroup cols="2">
78
+
<thead>
79
+
<row>
80
+
<entry>&Version;</entry>
81
+
<entry>&Description;</entry>
82
+
</row>
83
+
</thead>
84
+
<tbody>
85
+
<row>
86
+
<entry>8.3.0</entry>
87
+
<entry>
88
+
<link linkend="libxml.constants">LIBXML_NOXMLDECL</link> is now supported.
89
+
</entry>
90
+
</row>
91
+
</tbody>
92
+
</tgroup>
93
+
</informaltable>
93
94
</refsect1>
94
95

95
96
<refsect1 role="examples">
...
...
@@ -150,7 +151,6 @@ Saving only the title part:
150
151
</para>
151
152
</refsect1>
152
153
</refentry>
153
-

154
154
<!-- Keep this comment at the end of the file
155
155
Local variables:
156
156
mode: sgml
157
157