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

Reply via email to