summaryrefslogtreecommitdiff
path: root/ext/gd/tests/bug43073.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/gd/tests/bug43073.phpt')
-rw-r--r--ext/gd/tests/bug43073.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/gd/tests/bug43073.phpt b/ext/gd/tests/bug43073.phpt
index 8b58e511cc..a8027338ef 100644
--- a/ext/gd/tests/bug43073.phpt
+++ b/ext/gd/tests/bug43073.phpt
@@ -25,7 +25,7 @@ $exp = [
[470,470, 548,549, 566,532, 488,453],
[492,439, 595,481, 604,458, 502,416]
];
-$cwd = dirname(__FILE__);
+$cwd = __DIR__;
$font = "$cwd/Tuffy.ttf";
$delta_t = 360.0 / 16; # Make 16 steps around
$g = imagecreate(800, 800);
@@ -55,7 +55,7 @@ for ($angle = 0.0, $i = 0; $angle < 360.0; $angle += $delta_t, $i++) {
imagepng($g, "$cwd/bug43073.png");
?>
--CLEAN--
-<?php @unlink(dirname(__FILE__) . '/bug43073.png'); ?>
+<?php @unlink(__DIR__ . '/bug43073.png'); ?>
--EXPECT--
0: ........
1: ........