problem description
$data=array (
1 => "8",
2 => "56",
3 => "64",
4 => "90",
5 => "11",
6 => "32",
7 => "30",
8 => "90",
)
how to get the key value of $data is 11, put all the previous key values into a new array, and put all the key values after the key value of 11 into a new array
what result do you expect?
is there an easy way to get it? but I can only use for plus a count statistic and then subtract.