我有这个动态生成的数组。但我想删除 de 'wrapper' 数组。我该怎么做?
Array (
[0] => Array (
[taxonomy] => city
[terms] => Array ( [0] => boston )
[field] => slug
[operator] => NOT IN
)
[1] => Array (
[taxonomy] => city
[terms] => Array ( [0] => chicago )
[field] => slug
[operator] => NOT IN
)
)
如何删除父数组以仅具有此结构:?
[0] => Array (
[taxonomy] => city
[terms] => Array ( [0] => boston )
[field] => slug
[operator] => NOT IN
)
[1] => Array (
[taxonomy] => city
[terms] => Array ( [0] => chicago )
[field] => slug
[operator] => NOT IN
)