summaryrefslogtreecommitdiff
path: root/ext/gd/tests/bug38112.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/gd/tests/bug38112.phpt')
-rw-r--r--ext/gd/tests/bug38112.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gd/tests/bug38112.phpt b/ext/gd/tests/bug38112.phpt
index 0e4b8afd3f..8a6911ad9d 100644
--- a/ext/gd/tests/bug38112.phpt
+++ b/ext/gd/tests/bug38112.phpt
@@ -8,7 +8,7 @@ Bug #38112 (GIF Invalid Code size ).
?>
--FILE--
<?php
-$im = imagecreatefromgif(dirname(__FILE__) . '/bug38112.gif');
+$im = imagecreatefromgif(__DIR__ . '/bug38112.gif');
?>
--EXPECTF--
Warning: imagecreatefromgif(): '%sbug38112.gif' is not a valid GIF file in %sbug38112.php on line %d