PHP array 反轉陣列排列順序 詳細內容 分類: PHP 發佈: 20 十二月 2016 反轉原陣列順序 $a=array(‘a’,’1′,’2′,’b’); print_r(array_reverse($a)); 顯示結果: Array ( [0] => b [1] => 2 [2] => 1 [3] => a ) 您也可能喜歡這些文章 View the discussion thread. back to top 最近更新: 28 六月 2019 Hits: 3857 PHP