summaryrefslogtreecommitdiff
path: root/ext/gd/tests/bug53504.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/gd/tests/bug53504.phpt')
-rw-r--r--ext/gd/tests/bug53504.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/gd/tests/bug53504.phpt b/ext/gd/tests/bug53504.phpt
index bb6cc7a93f..3b2ce4c7eb 100644
--- a/ext/gd/tests/bug53504.phpt
+++ b/ext/gd/tests/bug53504.phpt
@@ -7,7 +7,7 @@ Bug #53504 imagettfbbox/imageftbbox gives incorrect values for bounding box
?>
--FILE--
<?php
-$cwd = dirname(__FILE__);
+$cwd = __DIR__;
$font = "$cwd/Tuffy.ttf";
$g = imagecreate(800, 800);
@@ -84,7 +84,7 @@ foreach ($tests as $testnum => $test) {
imagepng($g, "$cwd/bug53504.png");
?>
--CLEAN--
-<?php @unlink(dirname(__FILE__) . '/bug53504.png'); ?>
+<?php @unlink(__DIR__ . '/bug53504.png'); ?>
--EXPECT--
0: ........
1: ........