ID:               24128
 Updated by:       [EMAIL PROTECTED]
 Reported By:      young at sl dot com dot ua
-Status:           Feedback
+Status:           No Feedback
 Bug Type:         Arrays related
 Operating System: Win2k
 PHP Version:      4.3.2
 New Comment:

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.




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

[2003-06-11 11:37:01] [EMAIL PROTECTED]

What exactly you think is the problem here? 
What are you expecting to get..?
Same array as before serialize?

What possible use is there to have recursion in an array..?


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

[2003-06-11 10:27:58] young at sl dot com dot ua

<?php
echo '<pre>';
$a = array(1, 2, 3);
$a[1] = &$a;
print_r($a);
print_r(unserialize(serialize($a)));
?>

Display:

Array
(
    [0] => 1
    [1] => Array
 *RECURSION*
    [2] => 3
)
Array
(
    [0] => 1
    [1] => Array
        (
            [0] => 1
            [1] => 
            [2] => 3
        )

    [2] => 3
)



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


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

Reply via email to