摘要: 0 [1] => 1 [2] => 2 [3] => 3 [4] => 4 ) $re = array_values($arr); //获得数组的值 print_r($re); //Array ( [0] => 12 [1] => 46 [2] => 12 [3] => 荣德胜 [4] => Redis ) $re = array_flip($arr); //数组中的值... 阅读全文
posted @ 2018-08-06 18:02 super久违 阅读(99) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/tjcjava/article/details/76468225 阅读全文
posted @ 2018-08-06 14:42 super久违 阅读(82) 评论(0) 推荐(0) 编辑