summaryrefslogtreecommitdiff
path: root/ext/xml/tests/xml002.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/xml/tests/xml002.phpt')
-rw-r--r--ext/xml/tests/xml002.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/xml/tests/xml002.phpt b/ext/xml/tests/xml002.phpt
index f56319932e..e183fa4ae3 100644
--- a/ext/xml/tests/xml002.phpt
+++ b/ext/xml/tests/xml002.phpt
@@ -7,7 +7,7 @@ XML_SAX_IMPL == 'libxml' && die('skip this test is not intended for libxml SAX p
?>
--FILE--
<?php
-chdir(dirname(__FILE__));
+chdir(__DIR__);
class myclass
{