獲取數組的指定位置的元素 1、end() 獲取數組的最后一個元素 <?php $array=array("1","2","123","4a"); echo end($array); /*返回結果:4a*/ ?& ...