|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 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 Group All rights reserved. | Last updated: Fri Oct 31 03: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 ) )