Skip to content

Commit

Permalink
Fix argument to SimpleXMLElement's constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
kamil-tekiela committed Feb 10, 2024
1 parent 56b0482 commit 39dc323
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reference/simplexml/simplexmlelement/construct.xml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ PHP: Behind the Parser
<![CDATA[
<?php
$sxe = new SimpleXMLElement('http://example.org/document.xml', NULL, TRUE);
$sxe = new SimpleXMLElement('http://example.org/document.xml', 0, true);
echo $sxe->asXML();
?>
Expand Down

0 comments on commit 39dc323

Please sign in to comment.