我正在一个网站上工作,我们需要删除类型为整数的数组的索引.
你有任何想法或建议吗?
我的数组看起来像这样:
Array
(
[0] => first
[first] => second
[1] => second
[second] => second
[2] => third
[third] => third
[3] => forth
[forth] => v
[4] => fifth
[fifth] => fifth
)
我们如何从数组中删除整数索引.更多的事情要注意我们没有静态数组我们不知道有多少索引.
需要这样的:
Array
(
[first] => second
[second] => second
[third] => third
[forth] => v
[fifth] => fifth
)
最佳答案
原文链接:https://www.f2er.com/mysql/434186.html