summaryrefslogtreecommitdiff
path: root/ext/standard/tests/file/fseek_ftell_rewind_variation2.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/file/fseek_ftell_rewind_variation2.phpt')
-rw-r--r--ext/standard/tests/file/fseek_ftell_rewind_variation2.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/tests/file/fseek_ftell_rewind_variation2.phpt b/ext/standard/tests/file/fseek_ftell_rewind_variation2.phpt
index bb3f40c220..5d8caf173f 100644
--- a/ext/standard/tests/file/fseek_ftell_rewind_variation2.phpt
+++ b/ext/standard/tests/file/fseek_ftell_rewind_variation2.phpt
@@ -32,7 +32,7 @@ $file_content_types = array( "text_with_new_line","alphanumeric");
$offset = array(-1, 0, 1, 513); // different offsets, including negative and beyond size
-$filename = dirname(__FILE__)."/fseek_ftell_rewind_variation2.tmp"; // this is name of the file created by create_files()
+$filename = __DIR__."/fseek_ftell_rewind_variation2.tmp"; // this is name of the file created by create_files()
/* open the file using $files_modes and perform fseek(),ftell() and rewind() on it */
foreach($file_content_types as $file_content_type){