Bug #11168 Updated: Problem with serializing more dimensional array with references ...
| From: | sander@php.net | Date: | Fri, 31 Aug 2001 15:10:22 +0000 |
| Subject: | Bug #11168 Updated: Problem with serializing more dimensional array with references ... | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-64829@lists.php.net to get a copy of this message | ||
ID: 11168
Updated by: sander
Reported By: maverick@wallstreet-develop.de
Old Status: Open
Status: Duplicate
Old Bug Type: Scripting Engine problem
Bug Type: Feature/Change Request
Operating System: RedHat
PHP Version: 4.0.5
New Comment:
Not a bug.
Making it a feature request.
Duplicate of 10863.
Previous Comments:
------------------------------------------------------------------------
[2001-05-29 08:17:03] maverick@wallstreet-develop.de
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