1
0
mirror of https://github.com/php/php-src.git synced 2026-03-26 01:02:25 +01:00
Files
archived-php-src/ext/com_dotnet/tests/bug39606.phpt
Fabien Villepinte a555cc0b3d Clean DONE tags from tests
Remove most of the `===DONE===` tags and its variations.
Keep `===DONE===` if the test output otherwise becomes empty.

Closes GH-4872.
2019-11-07 21:31:47 +01:00

21 lines
424 B
PHP

--TEST--
COM: Loading typelib corrupts memory
--SKIPIF--
<?php
if (!extension_loaded("com_dotnet")) print "skip COM/.Net support not present"; ?>
--FILE--
<?php
error_reporting(E_ALL);
$arEnv = array_change_key_case($_SERVER, CASE_UPPER);
$root = dirname($arEnv['COMSPEC']);
$typelib = $root.'\activeds.tlb';
var_dump(com_load_typelib($typelib));
var_dump(com_load_typelib($typelib));
?>
--EXPECT--
bool(true)
bool(true)