Bug #41189 [Opn]: Multi-dimensional array in COM function causes hang
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
Type: Bug
Package: COM related
Operating System: Windows 2003 Server
PHP Version: 5CVS-2007-04-25 (snap)
Block user comment: N
Private report: N
New Comment:
May be related to bug #43432.
Previous Comments:
------------------------------------------------------------------------
[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)