summaryrefslogtreecommitdiff
path: root/ext/spl/tests/SplFileObject_fwrite_variation_002.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/spl/tests/SplFileObject_fwrite_variation_002.phpt')
-rw-r--r--ext/spl/tests/SplFileObject_fwrite_variation_002.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/spl/tests/SplFileObject_fwrite_variation_002.phpt b/ext/spl/tests/SplFileObject_fwrite_variation_002.phpt
index 31399a0d02..cea92a349c 100644
--- a/ext/spl/tests/SplFileObject_fwrite_variation_002.phpt
+++ b/ext/spl/tests/SplFileObject_fwrite_variation_002.phpt
@@ -2,7 +2,7 @@
SplFileObject::fwrite function - writing with two parameters, length > input string length
--FILE--
<?php
-$file = dirname(__FILE__).'/SplFileObject_fwrite_variation_002.txt';
+$file = __DIR__.'/SplFileObject_fwrite_variation_002.txt';
if(file_exists($file)) {
unlink($file);
}
@@ -12,7 +12,7 @@ var_dump(file_get_contents($file));
?>
--CLEAN--
<?php
-$file = dirname(__FILE__).'/SplFileObject_fwrite_variation_002.txt';
+$file = __DIR__.'/SplFileObject_fwrite_variation_002.txt';
if(file_exists($file)) {
unlink($file);
}