Bug #79299 [Ver->Csd]: com_print_typeinfo prints duplicate variables
| From: | cmb@php.net | Date: | Sun, 23 Feb 2020 22:36:24 +0000 |
| Subject: | Bug #79299 [Ver->Csd]: com_print_typeinfo prints duplicate variables | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-225683@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=79299&edit=1
ID: 79299
Updated by: cmb@php.net
Reported by: litiano dot moura at yahoo dot com dot br
Summary: com_print_typeinfo prints duplicate variables
-Status: Verified
+Status: Closed
Type: Bug
Package: COM related
Operating System: Windows
PHP Version: 7.4.3
Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of cmbecker69@gmx.de
Revision: http://git.php.net/?p=php-src.git;a=commit;h=9e6358af36e71fa867b3de24dae2ec76d678c428
Log: Fix #79299: com_print_typeinfo prints duplicate variables
Previous Comments:
------------------------------------------------------------------------
[2020-02-23 22:33:17] cmb@php.net
Thanks for this awesome bug report! :)
------------------------------------------------------------------------
[2020-02-23 18:01:56] litiano dot moura at yahoo dot com dot br
Description:
------------
$ie = new \COM("InternetExplorer.Application");
com_print_typeinfo($ie);
Expected result:
----------------
[...]
/* DISPID=-525 */
/* VT_HRESULT [25] */
var $ReadyState;
/* DISPID=550 */
/* VT_HRESULT [25] */
/* Controls if the frame is offline (read from cache) */
var $Offline;
/* DISPID=551 */
/* VT_HRESULT [25] */
/* Controls if any dialog boxes can be shown */
var $Silent;
[...]
Actual result:
--------------
[...]
/* DISPID=-525 */
/* VT_HRESULT [25] */
var $ReadyState;
/* DISPID=550 */
/* VT_HRESULT [25] */
/* Controls if the frame is offline (read from cache) */
var $Offline;
/* DISPID=550 */
/* VT_HRESULT [25] */
/* Controls if the frame is offline (read from cache) */
var $Offline;
/* DISPID=551 */
/* VT_HRESULT [25] */
/* Controls if any dialog boxes can be shown */
var $Silent;
/* DISPID=551 */
/* VT_HRESULT [25] */
/* Controls if any dialog boxes can be shown */
var $Silent;
[...]
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=79299&edit=1