Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个像这样的数组:
$array=[1,4,15,8,3,7,15];
我从数据库中获取值,所以我想从这个数组中删除“8”值,但数组有未定义的索引。我怎样才能做到这一点 ?