mirror of
https://github.com/php/php-src.git
synced 2024-11-27 03:44:07 +08:00
56f90492d6
For rationale, see https://github.com/php/php-src/pull/6787 Extensions migrated in this part: * bcmath * bz2 * calendar * com_dotnet * ctype Closes GH-6797.
18 lines
365 B
PHP
18 lines
365 B
PHP
--TEST--
|
|
Bug #79299 (com_print_typeinfo prints duplicate variables)
|
|
--EXTENSIONS--
|
|
com_dotnet
|
|
--FILE--
|
|
<?php
|
|
$dict = new COM("Scripting.Dictionary");
|
|
ob_start();
|
|
com_print_typeinfo($dict);
|
|
$typeinfo = ob_get_clean();
|
|
preg_match_all('/\/\* DISPID=9 \*\//', $typeinfo, $matches);
|
|
var_dump($matches[0]);
|
|
?>
|
|
--EXPECT--
|
|
array(1) {
|
|
[0]=>
|
|
string(14) "/* DISPID=9 */"
|
|
}
|