打赏

php获取数组最后一个值

$array = array(1,2,3,4,5);
echo end($array);//5

 

posted on 2019-04-11 14:20  头大的冯冯  阅读(144)  评论(0编辑  收藏  举报

导航