There is a small typo in the two examples.

-- 
Provided by anonymous 51630 (aja@emakina.fr)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341877 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Andrey Gromov 2017-02-08 07:41:47 +00:00
parent 218c58b32d
commit 1d48545f5a

View file

@ -37,7 +37,7 @@
<![CDATA[
<?php
$dom = new DOMDocument;
$dom->Load('book.xml');
$dom->load('book.xml');
if ($dom->validate()) {
echo "This document is valid!\n";
}
@ -52,7 +52,7 @@ if ($dom->validate()) {
<?php
$dom = new DOMDocument;
$dom->validateOnParse = true;
$dom->Load('book.xml');
$dom->load('book.xml');
?>
]]>
</programlisting>