1--TEST-- 2Bug #79299 (com_print_typeinfo prints duplicate variables) 3--SKIPIF-- 4<?php 5if (!extension_loaded('com_dotnet')) die('skip com_dotnet extension not available'); 6?> 7--FILE-- 8<?php 9$dict = new COM("Scripting.Dictionary"); 10ob_start(); 11com_print_typeinfo($dict); 12$typeinfo = ob_get_clean(); 13preg_match_all('/\/\* DISPID=9 \*\//', $typeinfo, $matches); 14var_dump($matches[0]); 15?> 16--EXPECT-- 17array(1) { 18 [0]=> 19 string(14) "/* DISPID=9 */" 20}