I have two multidimensional arrays which I want to intersect using PHP array_intersect function, but prior to do the output for this it must also make a replacement for only one element of array.Example:\[code\]$array1 = Array(Array(37768201, 273, Array(602, 603, 604, 605, 606), 0),Array(37483503, 473, Array(604, 605, 606), 0),Array(37500944, 332, Array(602, 603), 0));$array2 = Array(Array(37768201, 273, Array(602, 603, 604, 605, 606), 13852),Array(37483503, 473, Array(603, 604, 605, 606), 13853),Array(37500944, 332, Array(602, 603, 604, 605), 13854),Array(37483903, 152, Array(602, 603, 604, 605, 606), 13855),Array(37483703, 175, Array(602, 603, 604, 605, 606), 13856));\[/code\]array_intersect result:\[code\]$array1 = Array(Array(37768201, 273, Array(602, 603, 604, 605, 606), 0),Array(37483503, 473, Array(604, 605, 606), 0),Array(37500944, 332, Array(602, 603), 0));\[/code\]Expected result: \[code\]$array1 = Array(Array(37768201, 273, Array(602, 603, 604, 605, 606), 13852),Array(37483503, 473, Array(604, 605, 606), 13853),Array(37500944, 332, Array(602, 603), 13854));\[/code\]Could this be done using array_uintersect istead?