Ask about traversal of one-dimensional and two-dimensional arrays
Array
(
[8900] => A
[8898] => D
[8733] => B
[8799] => C
[8933] => A
[8827] => ; C
[8854] => C
[8786] => A
[8738] => B
[8880] => B
[8835] => A
[8750] => D
[8760] => D
[8853] => A
[8863] => A
[8806] => D
[8766] => A
[8864] => D
[8896] => A
[8874] => A
[8828] => C
[8732] => D
[ 8925] => B
[8779] => B
[8895] => B
[8843] => B
[8873] => B
[8744] => C
[8731] => D
[8856] => B
[8969] => ; Array
(
# )
## [9051] => Array ( ) [1] => B [2] = > C )## [9059] => Array
(
) [0] => A
[2] = & gt; c
[3] = & gt; d
##)[9032] = & gt;
( [0] = & GT; A## [1] = & GT; B
# [2] = & GT; C## [3] = > D
)
## [8953] => Array ( ) [0] => A[1] = & gt; b [2] = & gt; c
## [3] = & GT; d
#) ## [8960] => Array ([0] => A
[1] => B
[3] => D
)
[9110] => Array
(
[0] => A
[1] => B
[2] => C
[3] => D
)
[9084] => Array
(
[0] => A
[1] => B
[2] => C
)
[9044] => Array
(
[0] => A
[1] => B
[2] => C
[3] => D
)
[8961] => Array
(
[0] => A
[1] => B
[3] => D
)
[9023] => Array
(
[0] => A
[1] => B
[2] => C
[3] => D
)
[9098] => Array
(
[0] => A
[1] => B
[2] => C
[3] => D
)
[8976] => Array
(
[0] => A
[1] => B
[2] => C
[3] => D
)
[9102] => Array
(
[1] => B
[2] => C
)
[8972] => Array
(
[0] => A
[1] => B
[2] => C
)
[8968] => Array
(
[0] => A
[2] => C
)
[8997] => Array
(
[0] => A
[3] => D
)
[9080] => Array
(
[0] => A
[2] => C
)
[9029] => Array
(
[0] => A
[1] => B
)
[9091] => Array
(
[0] => A
[1] => B
[2] => C
)
[9240] => A
[9182] => A
[9227] => A
[9146] => B
[9190] => A
[9139] => B
[9138] => B
[9143] => A
[9279] => A
[9232] => A
)
It is best to traverse the one-dimensional array of the first part, the two-dimensional array of the second part, and the one-dimensional array of the third part separately. Greatful!