|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-08-15 18:28 UTC] sniper@php.net
[2005-08-15 19:08 UTC] rashid at ds dot pg dot gda dot pl
[2005-08-15 21:13 UTC] sniper@php.net
[2005-09-01 15:32 UTC] dmitry@php.net
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 09 18:00:02 2025 UTC |
Description: ------------ If you have an array which contains another array and you`ll assign reference to the inner array to the variable containing the outer array you`ll see all kinds of binary trash. With bigger arrays I`ve also seen Apache crashes. I`ve used lates available 5.0.x snapshot: Fri, 12 Aug 2005 19:09:17 +0200 Version: 5.0.5-dev Branch: HEAD Build: Release_TS and lastes 5.1.x snapshot Fri, 12 Aug 2005 23:13:30 +0000 Version: 5.1.0-dev Branch: HEAD Build: Release_TS Reproduce code: --------------- <?php $arr1 = array('a1' => array('alfa' => 'beta')); $arr1 =& $arr1['a1']; echo '-'.$arr1['alfa'].'-'; ?> Expected result: ---------------- -beta- Actual result: -------------- --eta-