|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
|
Thank you for your help!
If the status of the bug report you submitted changes, you will be notified.
You may return here and check the status or update your report at any time. The URL for your bug report is: https://bugs.php.net/bug.php?id=71837.
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2016-03-17 14:51 UTC] laruence@php.net
[2016-03-17 14:51 UTC] laruence@php.net
-Status: Open
+Status: Closed
[2016-07-20 11:32 UTC] davey@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 20 06:00:01 2025 UTC |
Description: ------------ Value 200 shouldn't appear on array $p And it gives different results on php5/7 Test script: --------------- <?php $p = array(array()); array_push($p[0], array(100)); $c = array_merge($p, array()); $c[0][0] = 200; print_r($p); Expected result: ---------------- Array ( [0] => Array ( [0] => Array ( [0] => 100 ) ) ) Actual result: -------------- Array ( [0] => Array ( [0] => 200 ) )