如何将当前数组值与之前的数组值进行比较。例如,如果我有以下数组并想将 [BM1367 PD C 70][ST00576]['transferfrom'] 与之前的数组 [BM1367 PD B 85] 进行比较[ST00576]['转自']?
[BM1367 PD B 85] => Array
(
[ST00576] => stdClass Object
(
[transferfrom] => 102
[transferto] => 66
[BR_ID] => 102
[refno] =>
)
[OT01606] => stdClass Object
(
[transferfrom] => 102
[transferto] => 66
[BR_ID] => 66
[refno] => 102 - ST00576
)
)
[BM1367 PD C 70] => Array
(
[ST00576] => stdClass Object
(
[transferfrom] => 102
[transferto] => 66
[BR_ID] => 102
[refno] =>
)
[OT01606] => stdClass Object
(
[transferfrom] => 102
[transferto] => 66
[BR_ID] => 66
[refno] => 102 - ST00576
)
)
[BM1367 PD C 85] => Array
(
[ST00576] => stdClass Object
(
[transferfrom] => 102
[transferto] => 66
[BR_ID] => 102
[refno] =>
)
[OT01606] => stdClass Object
(
[transferfrom] => 102
[transferto] => 66
[BR_ID] => 66
[refno] => 102 - ST00576
)
)
[BM1367 PD D 85] => Array
(
[ST00576] => stdClass Object
(
[transferfrom] => 102
[transferto] => 66
[BR_ID] => 102
[refno] =>
)
[OT01606] => stdClass Object
(
[transferfrom] => 102
[transferto] => 66
[BR_ID] => 66
[refno] => 102 - ST00576
)
)
)