Array A:
$a = [
0 => ["num" => 100],
1 => ["num" => 105],
3 => ["num" => 253],
N.......
]
Array B:
$b = [
0 => [
"id" => 1,
"num" => 300
],
1 => [
"id" => 2,
"num" => 600
],
2 => [
"id" => 3,
"num" => 900
],
N........
]
question: I want to traverse the records with num less than 500in array A, and then use the num in array B to fill it. If the num in array An is equal to 500, skip it. Finally, there is an array to record the ID in array B. those ID participated in the filling, and ask for instructions on how to withdraw cash under the code. Looks like it"s going to be recursive?