假设我有第一个数组 $aAllCities 作为
Array
(
[21] => London
[9] => Paris
[17] => New York
[3] => Tokyo
[25] => Shanghai
[11] => Dubai
[37] => Mumbai
)
另一个数组 $aNotSupportedCities 为
Array
(
[0] => 37
[1] => 25
[2] => 11
)
有可能得到这样的数组吗?
Array
(
[21] => London
[9] => Paris
[17] => New York
[3] => Tokyo
)
我想删除其他数组中存在的那些键的数组值