summaryrefslogtreecommitdiff
path: root/ext/gd/tests/bug37346-mb.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/gd/tests/bug37346-mb.phpt')
-rw-r--r--ext/gd/tests/bug37346-mb.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gd/tests/bug37346-mb.phpt b/ext/gd/tests/bug37346-mb.phpt
index 90efc6391b..4ec5734fc7 100644
--- a/ext/gd/tests/bug37346-mb.phpt
+++ b/ext/gd/tests/bug37346-mb.phpt
@@ -6,7 +6,7 @@ Bug #37346 (gdimagecreatefromgif, bad colormap)
?>
--FILE--
<?php
-$im = imagecreatefromgif(dirname(__FILE__) . '/bug37346私はガラスを食べられます.gif');
+$im = imagecreatefromgif(__DIR__ . '/bug37346私はガラスを食べられます.gif');
?>
--EXPECTF--
Warning: imagecreatefromgif(): '%sbug37346私はガラスを食べられます.gif' is not a valid GIF file in %sbug37346-mb.php on line %d