ID:               41189
 Updated by:       [EMAIL PROTECTED]
 Reported By:      rrosamond at sccd dot ctc dot edu
-Status:           Open
+Status:           Assigned
 Bug Type:         COM related
 Operating System: Windows 2003 Server
 PHP Version:      5CVS-2007-04-25 (snap)
-Assigned To:      
+Assigned To:      wez
 New Comment:

Assigned to the maintainer.


Previous Comments:
------------------------------------------------------------------------

[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 http://bugs.php.net/?id=41189&edit=1

Reply via email to