Bug #53093 [Opn->Csd]: Broken data in object

From: Date: Mon, 18 Oct 2010 07:24:19 +0000
Subject: Bug #53093 [Opn->Csd]: Broken data in object
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-155287@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=53093&edit=1 ID: 53093 User updated by: dr4k0n at list dot ru Reported by: dr4k0n at list dot ru Summary: Broken data in object -Status: Open +Status: Closed Type: Bug Package: *General Issues Operating System: Gentoo Linux 2.6.31-xenU-fly PHP Version: 5.2.14 Block user comment: N New Comment: It's because of not I not use "clone" operator Previous Comments: ------------------------------------------------------------------------ [2010-10-18 09:07:14] dr4k0n at list dot ru Description: ------------ PHP broke data in memory... Script: http://www.infoskidka.ru/common/splitTest.php It will show: ----------------------------------------------- Array ( [0] => CDBResult Object ( [advance_anchors] => Array ( [0] => 10 [1] => 20 ) ) ) CDBResult Object ( [advance_anchors] => 10 ) CDBResult Object ( [advance_anchors] => 20 ) Array ( [0] => CDBResult Object ( [advance_anchors] => 20 ) [1] => CDBResult Object ( [advance_anchors] => 20 ) ) ----------------------------------------------- But I expect: ----------------------------------------------- Array ( [0] => CDBResult Object ( [advance_anchors] => Array ( [0] => 10 [1] => 20 ) ) ) CDBResult Object ( [advance_anchors] => 10 ) CDBResult Object ( [advance_anchors] => 20 ) Array ( [0] => CDBResult Object ( [advance_anchors] => 10 ) [1] => CDBResult Object ( [advance_anchors] => 20 ) ) ----------------------------------------------- ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=53093&edit=1

« previous php.bugs (#155287) next »