summaryrefslogtreecommitdiff
path: root/ext/dom/tests/DOMNode_C14NFile_basic.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dom/tests/DOMNode_C14NFile_basic.phpt')
-rw-r--r--ext/dom/tests/DOMNode_C14NFile_basic.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/dom/tests/DOMNode_C14NFile_basic.phpt b/ext/dom/tests/DOMNode_C14NFile_basic.phpt
index 69edc860e4..b006e47deb 100644
--- a/ext/dom/tests/DOMNode_C14NFile_basic.phpt
+++ b/ext/dom/tests/DOMNode_C14NFile_basic.phpt
@@ -20,7 +20,7 @@ $xml = <<< XML
</books>
XML;
-$output = dirname(__FILE__).'/DOMNode_C14NFile_basic.tmp';
+$output = __DIR__.'/DOMNode_C14NFile_basic.tmp';
$doc = new DOMDocument();
$doc->loadXML($xml);
$node = $doc->getElementsByTagName('title')->item(0);
@@ -30,7 +30,7 @@ var_dump($content);
?>
--CLEAN--
<?php
-$output = dirname(__FILE__).'/DOMNode_C14NFile_basic.tmp';
+$output = __DIR__.'/DOMNode_C14NFile_basic.tmp';
unlink($output);
?>
--EXPECT--