mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
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:
parent
218c58b32d
commit
1d48545f5a
1 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue