#37788 [Opn->Bgs]: Bizzare print result...
| From: | bjori@php.net | Date: | Mon, 12 Jun 2006 14:28:29 +0000 |
| Subject: | #37788 [Opn->Bgs]: Bizzare print result... | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-98296@lists.php.net to get a copy of this message | ||
ID: 37788
Updated by: bjori@php.net
Reported By: ondrej dot holy at gmail dot com
-Status: Open
+Status: Bogus
Bug Type: Arrays related
Operating System: windows xp
PHP Version: 5.1.4
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
Previous Comments:
------------------------------------------------------------------------
[2006-06-12 13:29:46] ondrej dot holy at gmail dot com
Description:
------------
Why is print? Array ( [a] => baa )
Reproduce code:
---------------
<?php
$a['a'] = 'aaa';
$a['a']['a'] = 'bbb';
print_r($a);
?>
Expected result:
----------------
Array ( [a] => Array( [a] => bbb ) )
Actual result:
--------------
Array ( [a] => baa )
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=37788&edit=1