倒序显示数组(从右往左)

$a=1..5

$a[$a.length..0]

 

[array]:reverse($a)

$a

posted on 2015-09-15 11:01  momingliu11  阅读(524)  评论(0编辑  收藏  举报