From 1d48545f5a4299730fe6c84844286336d1b16a1b Mon Sep 17 00:00:00 2001 From: Andrey Gromov Date: Wed, 8 Feb 2017 07:41:47 +0000 Subject: [PATCH] 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 --- reference/dom/domdocument/validate.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reference/dom/domdocument/validate.xml b/reference/dom/domdocument/validate.xml index b8af757ca6..8ecae09380 100644 --- a/reference/dom/domdocument/validate.xml +++ b/reference/dom/domdocument/validate.xml @@ -37,7 +37,7 @@ Load('book.xml'); +$dom->load('book.xml'); if ($dom->validate()) { echo "This document is valid!\n"; } @@ -52,7 +52,7 @@ if ($dom->validate()) { validateOnParse = true; -$dom->Load('book.xml'); +$dom->load('book.xml'); ?> ]]>