摘要: 根据值删除数组元素 <?php $fields = [1, 2, 3, 4, 5]; $key = array_search('4', $fields); unset($fields[$key]); 关联数组根据 key 删除数组元素 <?php $fields = ['key1' => 1, 'k 阅读全文
posted @ 2020-07-09 14:10 Ryan_zheng 阅读(884) 评论(0) 推荐(0) 编辑