dis-bench / src /php /php-src /ext /com_dotnet /tests /bug79332.phpt
meddyrat's picture
Replace repository contents with the original corrected artifact
1e94262
Raw History Blame Contribute Delete
362 Bytes
--TEST--
Bug #79332 (php_istreams are never freed)
--EXTENSIONS--
com_dotnet
--FILE--
<?php
$ph = new COMPersistHelper(null);
try {
$ph->LoadFromStream(fopen(__FILE__, 'r'));
} catch (com_exception $ex) {
// use hard-coded message to avoid localization issues
echo "A com_exception has been thrown\n";
}
?>
--EXPECT--
A com_exception has been thrown