summaryrefslogtreecommitdiff
path: root/ext/standard/tests/general_functions/bug40752.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/general_functions/bug40752.phpt')
-rw-r--r--ext/standard/tests/general_functions/bug40752.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/tests/general_functions/bug40752.phpt b/ext/standard/tests/general_functions/bug40752.phpt
index 9bf524029c..4e933d1274 100644
--- a/ext/standard/tests/general_functions/bug40752.phpt
+++ b/ext/standard/tests/general_functions/bug40752.phpt
@@ -3,7 +3,7 @@ Bug #40752 (parse_ini_file() segfaults when a scalar setting is redeclared as an
--FILE--
<?php
-$file = dirname(__FILE__)."/bug40752.ini";
+$file = __DIR__."/bug40752.ini";
file_put_contents($file, '
foo = 1;
foo[] = 1;