reference/dom/domdocument/load.xml
765749a26b620538117fff4425fafb3ed5834b54
...
...
@@ -9,8 +9,8 @@
9
9
</refnamediv>
10
10
<refsect1 role="description">
11
11
&reftitle.description;
12
-
<methodsynopsis>
13
-
<modifier>public</modifier> <type>mixed</type><methodname>DOMDocument::load</methodname>
12
+
<methodsynopsis role="DOMDocument">
13
+
<modifier>public</modifier> <type>bool</type><methodname>DOMDocument::load</methodname>
14
14
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
15
15
<methodparam choice="opt"><type>int</type><parameter>options</parameter><initializer>0</initializer></methodparam>
16
16
</methodsynopsis>
...
...
@@ -52,8 +52,7 @@
52
52
<refsect1 role="returnvalues">
53
53
&reftitle.returnvalues;
54
54
<para>
55
-
&return.success; If called statically, returns a
56
-
<classname>DOMDocument</classname>&return.falseforfailure;.
55
+
&return.success;
57
56
</para>
58
57
</refsect1>
59
58
<refsect1 role="errors">
...
...
@@ -64,8 +63,37 @@
64
63
is not generated by libxml and cannot be handled using libxml's error
65
64
handling functions.
66
65
</para>
67
-
&dom.allowstatic;
68
66
</refsect1>
67
+
<refsect1 role="changelog">
68
+
&reftitle.changelog;
69
+
<informaltable>
70
+
<tgroup cols="2">
71
+
<thead>
72
+
<row>
73
+
<entry>&Version;</entry>
74
+
<entry>&Description;</entry>
75
+
</row>
76
+
</thead>
77
+
<tbody>
78
+
<row>
79
+
<entry>8.3.0</entry>
80
+
<entry>
81
+
This function now has a tentative <type>bool</type> return type.
82
+
</entry>
83
+
</row>
84
+
<row>
85
+
<entry>8.0.0</entry>
86
+
<entry>
87
+
Calling this function statically will
88
+
now throw an <classname>Error</classname>.
89
+
Previously, an <constant>E_DEPRECATED</constant> was raised.
90
+
</entry>
91
+
</row>
92
+
</tbody>
93
+
</tgroup>
94
+
</informaltable>
95
+
</refsect1>
96
+

69
97
<refsect1 role="examples">
70
98
&reftitle.examples;
71
99
<para>
...
...
@@ -94,7 +122,6 @@ echo $doc->saveXML();
94
122
</para>
95
123
</refsect1>
96
124
</refentry>
97
-

98
125
<!-- Keep this comment at the end of the file
99
126
Local variables:
100
127
mode: sgml
101
128