#36316 [NEW]: COM exception when testing $comObj == true
| From: | john dot carter at royal-london dot co dot uk | Date: | Tue, 07 Feb 2006 10:02:27 +0000 |
| Subject: | #36316 [NEW]: COM exception when testing $comObj == true | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-93001@lists.php.net to get a copy of this message | ||
From: john dot carter at royal-london dot co dot uk
Operating system: XP
PHP version: 5.1.2
PHP Bug Type: COM related
Bug description: COM exception when testing $comObj == true
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 bug report at http://bugs.php.net/?id=36316&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=36316&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=36316&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=36316&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=36316&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=36316&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=36316&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=36316&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=36316&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=36316&r=support
Expected behavior: http://bugs.php.net/fix.php?id=36316&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=36316&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=36316&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=36316&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=36316&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=36316&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=36316&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=36316&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=36316&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=36316&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=36316&r=mysqlcfg