summaryrefslogtreecommitdiff
path: root/ext/standard/tests/general_functions/bug48660.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/general_functions/bug48660.phpt')
-rw-r--r--ext/standard/tests/general_functions/bug48660.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/tests/general_functions/bug48660.phpt b/ext/standard/tests/general_functions/bug48660.phpt
index d92958fc42..dfb608f18b 100644
--- a/ext/standard/tests/general_functions/bug48660.phpt
+++ b/ext/standard/tests/general_functions/bug48660.phpt
@@ -3,7 +3,7 @@ Bug #48660 (parse_ini_*(): dollar sign as last character of value fails)
--FILE--
<?php
-$ini_location = dirname(__FILE__) . '/bug48660.tmp';
+$ini_location = __DIR__ . '/bug48660.tmp';
// Build ini data
$ini_data = '
@@ -24,7 +24,7 @@ var_dump(parse_ini_file($ini_location, true, INI_SCANNER_NORMAL));
?>
--CLEAN--
-<?php @unlink(dirname(__FILE__) . '/bug48660.tmp'); ?>
+<?php @unlink(__DIR__ . '/bug48660.tmp'); ?>
--EXPECT--
array(1) {
["cases"]=>