|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2014-05-20 09:54 UTC] dmitry@php.net
-Status: Open
+Status: Not a bug
[2014-05-20 09:54 UTC] dmitry@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 19:00:01 2025 UTC |
Description: ------------ The test provides invalid expectation and hides the real problem. for some reason the second assignment statement changes the value of $bar. It's done not on purpose. $bar = new PDO("sqlite::memory:", null, null, array(PDO::ATTR_PERSISTENT => true)); $baz = new MyPDO("sqlite::memory:", null, null, array(PDO::ATTR_PERSISTENT => true)); var_dump($bar); // Prints object(MyPDO) instead of object(PDO) the bug and test are fixed in phpng.