summaryrefslogtreecommitdiff
path: root/ext/fileinfo/tests/bug71527.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/fileinfo/tests/bug71527.phpt')
-rw-r--r--ext/fileinfo/tests/bug71527.phpt5
1 files changed, 1 insertions, 4 deletions
diff --git a/ext/fileinfo/tests/bug71527.phpt b/ext/fileinfo/tests/bug71527.phpt
index 4fa2b30755..74bf9839d5 100644
--- a/ext/fileinfo/tests/bug71527.phpt
+++ b/ext/fileinfo/tests/bug71527.phpt
@@ -9,11 +9,8 @@ USE_ZEND_ALLOC=0
--FILE--
<?php
$finfo = finfo_open(FILEINFO_NONE, __DIR__ . DIRECTORY_SEPARATOR . "bug71527.magic");
- $info = finfo_file($finfo, __FILE__);
- var_dump($info);
+ var_dump($finfo);
?>
--EXPECTF--
Warning: finfo_open(): Failed to load magic database at '%sbug71527.magic'. in %sbug71527.php on line %d
-
-Warning: finfo_file() expects parameter 1 to be resource, bool given in %sbug71527.php on line %d
bool(false)