xref: /php-src/ext/fileinfo/tests/bug68996.phpt (revision bd9f4fa6)
1--TEST--
2Bug #68996 (Invalid free of CG(interned_empty_string))
3--EXTENSIONS--
4fileinfo
5--INI--
6html_errors=1
7--FILE--
8<?php
9finfo_open(FILEINFO_MIME_TYPE, "\xfc\x63");
10?>
11--EXPECTF--
12<br />
13<b>Warning</b>:  finfo_open(%s�c): Failed to open stream: No such file or directory in <b>%sbug68996.php</b> on line <b>%d</b><br />
14<br />
15<b>Warning</b>:  finfo_open(%s�c): Failed to open stream: No such file or directory in <b>%sbug68996.php</b> on line <b>%d</b><br />
16<br />
17<b>Warning</b>:  finfo_open(): Failed to load magic database at &quot;%s�c&quot; in <b>%s</b> on line <b>%d</b><br />
18