summaryrefslogtreecommitdiff
path: root/ext/xmlreader/tests/bug71805.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/xmlreader/tests/bug71805.phpt')
-rw-r--r--ext/xmlreader/tests/bug71805.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/xmlreader/tests/bug71805.phpt b/ext/xmlreader/tests/bug71805.phpt
index 3d1713ace5..6f54b1347a 100644
--- a/ext/xmlreader/tests/bug71805.phpt
+++ b/ext/xmlreader/tests/bug71805.phpt
@@ -5,8 +5,8 @@ XMLReader: Bug #71805 XML files can generate UTF-8 error even if they are UTF-8
--FILE--
<?php
-TestXML(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'XMLReaderGood_bug71805.xml');
-TestXML(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'XMLReaderBad_bug71805.xml');
+TestXML(__DIR__ . DIRECTORY_SEPARATOR . 'XMLReaderGood_bug71805.xml');
+TestXML(__DIR__ . DIRECTORY_SEPARATOR . 'XMLReaderBad_bug71805.xml');
function TestXML($file) {
$XR = new XMLReader;