mirror of
https://github.com/php/php-src.git
synced 2024-12-13 03:44:17 +08:00
23 lines
698 B
PHP
23 lines
698 B
PHP
--TEST--
|
||
Bug #68996 (Invalid free of CG(interned_empty_string))
|
||
--SKIPIF--
|
||
<?php
|
||
if (getenv("USE_ZEND_ALLOC") !== "0") {
|
||
print "skip Need Zend MM disabled";
|
||
}
|
||
?>
|
||
<?php require_once(dirname(__FILE__) . '/skipif.inc'); ?>
|
||
--INI--
|
||
html_errors=1
|
||
--FILE--
|
||
<?php
|
||
finfo_open(FILEINFO_MIME_TYPE, "\xfc\x63");
|
||
?>
|
||
--EXPECTF--
|
||
<br />
|
||
<b>Warning</b>: : failed to open stream: No such file or directory in <b>%sbug68996.php</b> on line <b>%d</b><br />
|
||
<br />
|
||
<b>Warning</b>: : failed to open stream: No such file or directory in <b>%sbug68996.php</b> on line <b>%d</b><br />
|
||
<br />
|
||
<b>Warning</b>: finfo_open(): Failed to load magic database at '%s<>c'. in <b>%sbug68996.php</b> on line <b>%d</b><br />
|