ID:               36316
 User updated by:  john dot carter at royal-london dot co dot uk
 Reported By:      john dot carter at royal-london dot co dot uk
-Status:           Bogus
+Status:           Closed
 Bug Type:         COM related
 Operating System: XP
 PHP Version:      5.1.2
 New Comment:

Confirmed - tested with php5.1-win32-200602040330.zip


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

[2006-02-07 13:03:52] [EMAIL PROTECTED]

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

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

[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

Reply via email to