#30906 [Opn]: COM doesn't works

From: Date: Fri, 26 Nov 2004 12:44:43 +0000
Subject: #30906 [Opn]: COM doesn't works
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-69477@lists.php.net to get a copy of this message
ID: 30906 User updated by: egarcia at egm dot as Reported By: egarcia at egm dot as Status: Open Bug Type: COM related Operating System: Windows XP SP2 PHP Version: 4.3.10RC1 New Comment: 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 Previous Comments: ------------------------------------------------------------------------ [2004-11-26 13:34:00] 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 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=30906&edit=1

« previous php.bugs (#69477) next »