system: Linux mars.sprixweb.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
cmd: 

Direktori : /usr/local/src/mailparse-3.1.6/tests/
Upload File :
Current File : //usr/local/src/mailparse-3.1.6/tests/008.phpt

--TEST--
OO API Segfault when opening a file is not possible
--SKIPIF--
<?php
/* vim600: sw=4 ts=4 fdm=marker syn=php
*/
if (!extension_loaded("mailparse")) print "skip"; ?>
--POST--
--GET--
--FILE--
<?php
error_reporting(0);
$msg = new MimeMessage("file", md5(uniqid("nothere")));
if (is_resource($msg))
	echo "Err??";
else
	echo "OK";
?>
--EXPECT--
OK