diff options
Diffstat (limited to 'ext/simplexml/tests/simplexml_import_dom.phpt')
-rw-r--r-- | ext/simplexml/tests/simplexml_import_dom.phpt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/simplexml/tests/simplexml_import_dom.phpt b/ext/simplexml/tests/simplexml_import_dom.phpt index 9908988ee0..02fbcdb4dd 100644 --- a/ext/simplexml/tests/simplexml_import_dom.phpt +++ b/ext/simplexml/tests/simplexml_import_dom.phpt @@ -6,7 +6,7 @@ SimpleXML [interop]: simplexml_import_dom --FILE-- <?php $dom = new domDocument; -$dom->load(dirname(__FILE__)."/book.xml"); +$dom->load(__DIR__."/book.xml"); if(!$dom) { echo "Error while parsing the document\n"; exit; |