ID: 11168
Updated by: joey
Reported By: [EMAIL PROTECTED]
Status: Duplicate
Bug Type: Feature/Change Request
Operating System: RedHat
PHP Version: 4.0.5
New Comment:

I'm afraid I just don't see the "bug" here. On
my machine, this shows:

Wrong:
Array
(
    [0] => Array
        (
            [0] => Ape1
            [one] => Ape1
        )

    [1] => Array
        (
            [0] => Ape2
            [two] => Ape2
        )

)
Right:
Array
(
    [0] => Array
        (
            [0] => Ape1
            [one] => Ape1
        )

    [1] => Array
        (
            [0] => Ape2
            [two] => Ape2
        )

)

What's the problem?

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

[2001-08-31 11:10:21] [EMAIL PROTECTED]

Not a bug. 
Making it a feature request.
Duplicate of 10863.

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

[2001-05-29 08:17:03] [EMAIL PROTECTED]

Here is the smallest programm I could make to reproduce the problem.

<?
    $a[0][0]="Ape1";
    $a[1][0]="Ape2";
    $a[0][one]=&$a[0][0];
    $a[1][two]=&$a[1][0];

    $wrong_a=unserialize( serialize ( $a) );
    echo "Wrong:\n";
    print_r( $wrong_a );
    echo "Right:\n";
    print_r( $a );
?>

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



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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to