From:             rrosamond at sccd dot ctc dot edu
Operating system: Windows 2003 Server
PHP version:      5CVS-2007-04-25 (snap)
PHP Bug Type:     COM related
Bug description:  Multi-dimensional array in COM function causes hang

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 bug report at http://bugs.php.net/?id=41189&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=41189&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=41189&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=41189&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=41189&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=41189&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=41189&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=41189&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=41189&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=41189&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=41189&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=41189&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=41189&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=41189&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=41189&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=41189&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=41189&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=41189&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=41189&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=41189&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=41189&r=mysqlcfg

Reply via email to