I have 2 arrays - they are identical in structure. similar to
Array ( [1] => Array ( [0] => 123 [1] => 412412 [2] => 21424124 ) ) and there are 2 array
Array( [32] => Array ( [7] => 4124124 [8] => 124124 [9] => 124124 ) This is just a small piece of the array, in fact there are about 50 values in 1 and in 2 arrays too. On a tree, they are completely identical - the only difference is that they have different keys. How can I replace the value1 of the array (value2) of the m array in this case without touching the keys? I tried array_merge and array_merge_recursive as the replace didn’t help either, advise who came across this, is there any simple solution for this task?