|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #30906 COM doesn't works
Submitted: 2004-11-26 13:34 UTC Modified: 2004-12-13 07:52 UTC
Avg. Score:4.7 ± 0.5
Reproduced:6 of 6 (100.0%)
Same Version:6 (100.0%)
Same OS:5 (83.3%)
From: egarcia at egm dot as Assigned:
Status: Wont fix Package: COM related
PHP Version: 4.3.10RC1 OS: Windows XP SP2
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2004-11-26 13:34 UTC] egarcia at egm dot as
I have the 4.3.9 version, I upgrade to make tests over the 4.3.10RC1, but I found that:

The COM interface doesn't works, I make tests with ADODB library, and when the code runs:

$dbc = new COM('ADODB.Connection');

It doesn't create the object.  This error doesn't happen in 4.3.9.

Reproduce code:
$y = new COM('ADODB.Connection');
if (is_resource($y)) {
	echo "OK";
} else {
	echo "fail";

Expected result:

Actual result:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2004-11-26 13:44 UTC] egarcia at egm dot as
Sorry, the code to reproduce is:

$y = new COM('ADODB.Connection');
if ($y) {
	echo "OK";
} else {
	echo "fail";

If I test it on the WEB.
4.3.9 => OK
4.3.10RC1 => fail

If I test it on the CONSOLE.
4.3.9 => OK
4.3.10RC1 => OK
 [2004-12-06 03:52 UTC] ecgirl at iahk dot com
Same problem under Windows NT
 [2004-12-13 07:52 UTC]
Use PHP 5 if you want workin COM support.

PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Mar 09 10:01:25 2021 UTC