summaryrefslogtreecommitdiff
path: root/ext/dom/tests/DOMDocument_save_basic.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dom/tests/DOMDocument_save_basic.phpt')
-rw-r--r--ext/dom/tests/DOMDocument_save_basic.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/dom/tests/DOMDocument_save_basic.phpt b/ext/dom/tests/DOMDocument_save_basic.phpt
index bcad72dce5..2fe9cdac75 100644
--- a/ext/dom/tests/DOMDocument_save_basic.phpt
+++ b/ext/dom/tests/DOMDocument_save_basic.phpt
@@ -19,13 +19,13 @@ $title = $root->appendChild($title);
$text = $doc->createTextNode('This is the title');
$text = $title->appendChild($text);
-$temp_filename = dirname(__FILE__)."/DomDocument_save_basic.tmp";
+$temp_filename = __DIR__."/DomDocument_save_basic.tmp";
echo 'Wrote: ' . $doc->save($temp_filename) . ' bytes'; // Wrote: 72 bytes
?>
--CLEAN--
<?php
- $temp_filename = dirname(__FILE__)."/DomDocument_save_basic.tmp";
+ $temp_filename = __DIR__."/DomDocument_save_basic.tmp";
unlink($temp_filename);
?>
--EXPECT--