php.net |  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
Votes:6
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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
38 + 19 = ?
Subscribe to this entry?

 
 [2004-11-26 13:34 UTC] egarcia at egm dot as
Description:
------------
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:
----------------
OK

Actual result:
--------------
fail

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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] sniper@php.net
Use PHP 5 if you want workin COM support.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 07:01:27 2024 UTC