感谢您的帮助,我被困在这个问题上。让我解释一下,我有这种数组。
第一个数组 -------------- 大批 ( [2] => 价值7 [3] => 值8 [4] => 价值9 [5] => 价值10 [6] => 价值11 [7] => 价值12 [8] => 价值13 )
第二个数组 -------------- 大批 ( [0] => 数组 ( [0] => 5 [1] => 3 [2] => 6 ) [1] => 数组 ( [0] => 8 [1] => 4 [2] => 7 ) )
和期望的结果:(如果第二个数组值==第一个数组键;更改第二个数组值)
大批 ( [0] => 数组 ( [0] => 值10 [1] => 值8 [2] => 价值11 ) [1] => 数组 ( [0] => 值13 [1] => 价值9 [2] => 价值12 ) )