摘要:
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); //数组中的值... 阅读全文
摘要:
https://blog.csdn.net/tjcjava/article/details/76468225 阅读全文