ID:               43448
 Comment by:       olafurw at gmail dot com
 Reported By:      desarrollo at c17 dot net
 Status:           Open
 Bug Type:         PDO related
 Operating System: Ubuntu Linux 7.10
 PHP Version:      5.2.5
 New Comment:

This might be fixed already. I got the expected result on this version
of PHP - Version 5.3.0alpha3-dev - Linux


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

[2007-11-29 12:43:32] desarrollo at c17 dot net

Description:
------------
When I try to compare a PDO object with itself, it's supposed to be
equal, but the '==' operator doesn't seems to work properly.

Reproduce code:
---------------
<?
$oPDO = new PDO('sqlite::memory:');
var_dump($oPDO == $oPDO);
?>


Expected result:
----------------
bool(true)

Actual result:
--------------
bool(false)


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


-- 
Edit this bug report at http://bugs.php.net/?id=43448&edit=1

Reply via email to