summaryrefslogtreecommitdiff
path: root/ext/gd/tests/jpeg2wbmp_error2-mb.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/gd/tests/jpeg2wbmp_error2-mb.phpt')
-rw-r--r--ext/gd/tests/jpeg2wbmp_error2-mb.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/gd/tests/jpeg2wbmp_error2-mb.phpt b/ext/gd/tests/jpeg2wbmp_error2-mb.phpt
index 4eeac126a4..6c4019a935 100644
--- a/ext/gd/tests/jpeg2wbmp_error2-mb.phpt
+++ b/ext/gd/tests/jpeg2wbmp_error2-mb.phpt
@@ -14,7 +14,7 @@ if(!function_exists('jpeg2wbmp')) {
?>
--FILE--
<?php
-$file = dirname(__FILE__) .'/simpletext私はガラスを食べられます.wbmp';
+$file = __DIR__ .'/simpletext私はガラスを食べられます.wbmp';
jpeg2wbmp('', $file, 20, 120, 8);
jpeg2wbmp(null, $file, 20, 120, 8);
jpeg2wbmp(false, $file, 20, 120, 8);
@@ -33,5 +33,5 @@ Deprecated: Function jpeg2wbmp() is deprecated in %s on line %d
Warning: jpeg2wbmp(): Unable to open '' for reading in %s on line %d
--CLEAN--
<?php
-unlink(dirname(__FILE__) .'/simpletext私はガラスを食べられます.wbmp');
+unlink(__DIR__ .'/simpletext私はガラスを食べられます.wbmp');
?>