Bug #41189 [Opn->Dup]: Multi-dimensional array in COM function causes hang

From: Date: Mon, 03 May 2021 11:57:46 +0000
Subject: Bug #41189 [Opn->Dup]: Multi-dimensional array in COM function causes hang
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-233654@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=41189&edit=1

 ID:                 41189
 Updated by:         cmb@php.net
 Reported by:        rrosamond at sccd dot ctc dot edu
 Summary:            Multi-dimensional array in COM function causes hang
-Status:             Open
+Status:             Duplicate
 Type:               Bug
 Package:            COM related
 Operating System:   Windows 2003 Server
 PHP Version:        5CVS-2007-04-25 (snap)
-Assigned To:        
+Assigned To:        cmb
 Block user comment: N
 Private report:     N

 New Comment:

This is a duplicate of bug #37965.


Previous Comments:
------------------------------------------------------------------------
[2020-06-25 16:00:21] cmb@php.net

May be related to bug #43432.

------------------------------------------------------------------------
[2007-08-15 08:33:51] jani@php.net

Assigned to the maintainer.

------------------------------------------------------------------------
[2007-04-25 18:55:53] rrosamond at sccd dot ctc dot edu

Description:
------------
This is a similar issue to the one posted by spymail at 21cn dot com on 26 Apr 2004 6:00pm UTC, Bug
#28161 (http://bugs.php.net/bug.php?id=28161).

I should be able to call the COM function and set an attribute in a multi-dimensional array using
one of the functions in that COM object.

No changes have been made to php.ini.  I'm using the out-of-the-box config files and extensions
packaged with the latest CVS of PHP5.

Reproduce code:
---------------
<?php

$options = "some string of options";
$objHeader = new COM("Wmrmobjs.WMRMHeader");
$objHeader->Attribute["options"] = $options;

?>

Expected result:
----------------
The attribute "options" should be set.

Actual result:
--------------
Apache (2.2.4) and/or PHP (5.2.2RC2-dev/cvs built 4/25/2007 16:30 GMT) hangs on the script.  The
page never completely loads after running this function.  PHP never actually "crashes"
from what I can tell.  It just simply doesn't complete processing the script.  If I could get
it to crash, I would submit a backtrace.

Note, in PHP 5.2.0, the result was different: Uncaught exception 'com_exception' with
message 'Error [0x8002000e] Invalid number of parameters.

In 5.2.2RC2-dev/csv, no error is produced.


------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=41189&edit=1


Thread (5 messages)

« previous php.bugs (#233654) next »