ID: 36316
Updated by: [EMAIL PROTECTED]
Reported By: john dot carter at royal-london dot co dot uk
-Status: Open
+Status: Bogus
Bug Type: COM related
Operating System: XP
PHP Version: 5.1.2
New Comment:
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same.
Thank you for your interest in PHP.
Dupe of bug #35954. already fixed in cvs
Previous Comments:
------------------------------------------------------------------------
[2006-02-07 11:02:27] john dot carter at royal-london dot co dot uk
Description:
------------
Code raises follwing COM exception (tested with >1 COM object).
PHP Fatal error: Uncaught exception 'com_exception' with message
'Error [0x8002000e] Invalid number of parameters.
This was fine in PHP 5.0.5.
Reproduce code:
---------------
<?php
$o1 = new StdClass();
if ($o1) {
echo 'this is OK';
}
$o2 = new COM("WinNT://Domain");
if ($o2) {
echo 'exception before it gets here';
}
?>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=36316&edit=1