Re: [PHP] array_merge_recursive
k] => Array > ( > [0] => a1 > [1] => b1 > ) > >) >---Access the merged array with with $r['k']; with values at >$r['k'][0] and $r['k'][1]. Is this not what you wanted? >-Kevin >
[PHP] array_merge_recursive
and $a['k'] has been set to the resulting two-element array. I did not expect this behavior: I expected the function to make a new array, which contains both 'a1' and 'b1'. Only $r['k'] should refer to this new array. Otherwise, in my opinion, ar