reference/simplexml/simplexmlelement/construct.xml
28f0dc949d62c97698ac4a0ca814c3780d8cf318
...
...
@@ -45,7 +45,7 @@
45
45
</para>
46
46
<note>
47
47
<para>
48
-
It may be necessary to pass <constant><link linkend="constant.libxml-parsehuge">LIBXML_PARSEHUGE</link></constant>
48
+
It may be necessary to pass <constant>LIBXML_PARSEHUGE</constant>
49
49
to be able to process deeply nested XML or very large text nodes.
50
50
</para>
51
51
</note>
...
...
@@ -137,7 +137,7 @@ PHP: Behind the Parser
137
137
<![CDATA[
138
138
<?php
139
139

140
-
$sxe = new SimpleXMLElement('http://example.org/document.xml', NULL, TRUE);
140
+
$sxe = new SimpleXMLElement('http://example.org/document.xml', 0, true);
141
141
echo $sxe->asXML();
142
142

143
143
?>
144
144