summaryrefslogtreecommitdiff
path: root/ext/fileinfo/tests/bug61964-mb.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/fileinfo/tests/bug61964-mb.phpt')
-rw-r--r--ext/fileinfo/tests/bug61964-mb.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/fileinfo/tests/bug61964-mb.phpt b/ext/fileinfo/tests/bug61964-mb.phpt
index 6dc3b93f77..a0f198e682 100644
--- a/ext/fileinfo/tests/bug61964-mb.phpt
+++ b/ext/fileinfo/tests/bug61964-mb.phpt
@@ -1,11 +1,11 @@
--TEST--
Bug #61964 (finfo_open with directory cause invalid free)
--SKIPIF--
-<?php require_once(dirname(__FILE__) . '/skipif.inc'); ?>
+<?php require_once(__DIR__ . '/skipif.inc'); ?>
--FILE--
<?php
-$magic_file = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'magic私はガラスを食べられます';
+$magic_file = __DIR__ . DIRECTORY_SEPARATOR . 'magic私はガラスを食べられます';
$ret = @finfo_open(FILEINFO_NONE, $magic_file . ".non-exits私はガラスを食べられます");
var_dump($ret);