diff options
Diffstat (limited to 'ext/dom/tests/DOMDocument_schemaValidate_basic.phpt')
-rw-r--r-- | ext/dom/tests/DOMDocument_schemaValidate_basic.phpt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/dom/tests/DOMDocument_schemaValidate_basic.phpt b/ext/dom/tests/DOMDocument_schemaValidate_basic.phpt index eec790de6f..5f3ed67937 100644 --- a/ext/dom/tests/DOMDocument_schemaValidate_basic.phpt +++ b/ext/dom/tests/DOMDocument_schemaValidate_basic.phpt @@ -10,9 +10,9 @@ Daniel Convissor <danielc@php.net> $doc = new DOMDocument; -$doc->load(dirname(__FILE__)."/book.xml"); +$doc->load(__DIR__."/book.xml"); -$result = $doc->schemaValidate(dirname(__FILE__)."/book.xsd"); +$result = $doc->schemaValidate(__DIR__."/book.xsd"); var_dump($result); ?> |