summaryrefslogtreecommitdiff
path: root/ext/standard/tests/file/stat_error-win32.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/file/stat_error-win32.phpt')
-rw-r--r--ext/standard/tests/file/stat_error-win32.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/tests/file/stat_error-win32.phpt b/ext/standard/tests/file/stat_error-win32.phpt
index 59c4fd6dee..3d4e367739 100644
--- a/ext/standard/tests/file/stat_error-win32.phpt
+++ b/ext/standard/tests/file/stat_error-win32.phpt
@@ -13,7 +13,7 @@ if (substr(PHP_OS, 0, 3) != 'WIN') {
Description: Gives information about a file
*/
-$file_path = dirname(__FILE__);
+$file_path = __DIR__;
$arr = array(__FILE__);
echo "\n*** Testing stat() for error conditions ***\n";