ID: 43448 Updated by: [email protected] Reported By: desarrollo at c17 dot net -Status: Open +Status: Feedback Bug Type: PDO related Operating System: Ubuntu Linux 7.10 PHP Version: 5.2.5 New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows: http://windows.php.net/snapshots/ Previous Comments: ------------------------------------------------------------------------ [2008-11-29 02:32:41] olafurw at gmail dot com This might be fixed already. I got the expected result on this version of PHP - Version 5.3.0alpha3-dev - Linux ------------------------------------------------------------------------ [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
