dis-bench / src /php /php-src /ext /com_dotnet /tests /bug45280.phpt
meddyrat's picture
Replace repository contents with the original corrected artifact
1e94262
Raw History Blame Contribute Delete
286 Bytes
--TEST--
Bug #45280 (Reflection of instantiated COM classes causes PHP to crash)
--EXTENSIONS--
com_dotnet
--FILE--
<?php
$dict = new COM("Scripting.Dictionary");
$reflection = new ReflectionObject($dict);
ob_start();
echo $reflection;
ob_get_clean();
echo 'done';
?>
--EXPECT--
done