summaryrefslogtreecommitdiff
path: root/ext/standard/tests/file/fseek_ftell_rewind_variation8.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/file/fseek_ftell_rewind_variation8.phpt')
-rw-r--r--ext/standard/tests/file/fseek_ftell_rewind_variation8.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/tests/file/fseek_ftell_rewind_variation8.phpt b/ext/standard/tests/file/fseek_ftell_rewind_variation8.phpt
index 28b52da206..82d4359bd3 100644
--- a/ext/standard/tests/file/fseek_ftell_rewind_variation8.phpt
+++ b/ext/standard/tests/file/fseek_ftell_rewind_variation8.phpt
@@ -32,7 +32,7 @@ $file_content_types = array( "text_with_new_line","alphanumeric");
$offset = array(-1,0,1,512,600); // different offsets
-$filename = dirname(__FILE__)."/fseek_ftell_rewind_variation8.tmp"; // this is name of the file created by create_files()
+$filename = __DIR__."/fseek_ftell_rewind_variation8.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){